Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 79.39 kB / 20.68 MB, free: 1.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 147.6 kB / 23.94 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 173.3 MB / 200.4 MB, free: 12.87 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 318.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.835e-05/3.03e-05, allocations: 2.281 kB / 318.9 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.004157/0.004187, allocations: 1.556 MB / 320.5 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.005471, allocations: 454.2 kB / 320.9 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.005573, allocations: 1.281 kB / 320.9 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.874e-05/0.005642, allocations: 4.453 kB / 320.9 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000189/0.005831, allocations: 8.641 kB / 320.9 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003555/0.006186, allocations: 46.5 kB / 321 MB, free: 2.16 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.00635, allocations: 43.66 kB / 321 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.006477, allocations: 9.031 kB / 321 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.006619, allocations: 32.12 kB / 321.1 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.445e-05/0.006683, allocations: 10.59 kB / 321.1 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.698e-05/0.00672, allocations: 2.969 kB / 321.1 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.805e-05/0.006738, allocations: 2.625 kB / 321.1 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.706e-05/0.006795, allocations: 14.05 kB / 321.1 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.73e-05/0.006833, allocations: 16.36 kB / 321.1 MB, free: 2.098 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.006985, allocations: 38.58 kB / 321.2 MB, free: 2.082 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.006991, allocations: 5.109 kB / 321.2 MB, free: 2.078 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.006993, allocations: 5.094 kB / 321.2 MB, free: 2.074 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.007006, allocations: 3.938 kB / 321.2 MB, free: 2.07 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005016/0.007507, allocations: 294 kB / 321.5 MB, free: 1.781 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.007558, allocations: 10.05 kB / 321.5 MB, free: 1.781 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.007598, allocations: 9.141 kB / 321.5 MB, free: 1.777 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.007913, allocations: 129.2 kB / 321.6 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.00793, allocations: 3.656 kB / 321.6 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.007948, allocations: 5.656 kB / 321.6 MB, free: 1.637 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002994/0.008248, allocations: 97.36 kB / 321.7 MB, free: 1.555 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.00826, allocations: 192 / 321.7 MB, free: 1.555 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.008274, allocations: 384 / 321.7 MB, free: 1.555 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.008282, allocations: 5.156 kB / 321.7 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.00839, allocations: 22.94 kB / 321.7 MB, free: 1.543 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002919/0.008682, allocations: 200.7 kB / 321.9 MB, free: 1.332 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.008789, allocations: 46.67 kB / 322 MB, free: 1.277 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.893e-05/0.008848, allocations: 17.67 kB / 322 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.008876, allocations: 5.156 kB / 322 MB, free: 1.258 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.008897, allocations: 37.36 kB / 322 MB, free: 1.215 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.008899, allocations: 0 / 322 MB, free: 1.215 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003588/0.009258, allocations: 70.92 kB / 322.1 MB, free: 1.168 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.009301, allocations: 78.23 kB / 322.2 MB, free: 1.074 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.009449, allocations: 136.1 kB / 322.3 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.009459, allocations: 29.64 kB / 322.3 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.233e-05/0.009502, allocations: 92.19 kB / 322.4 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.00952, allocations: 9.766 kB / 322.4 MB, free: 0.832 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.235e-05/0.009562, allocations: 21.45 kB / 322.5 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.881e-05/0.009621, allocations: 317.3 kB / 322.8 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.857e-05/0.009669, allocations: 5.953 kB / 322.8 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.892e-05/0.009708, allocations: 7.219 kB / 322.8 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.066e-05/0.009799, allocations: 20.78 kB / 322.8 MB, free: 492 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.009801, allocations: 0 / 322.8 MB, free: 492 kB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000143/0.009944, allocations: 56.25 kB / 322.9 MB, free: 448 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.009967, allocations: 5.234 kB / 322.9 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.009973, allocations: 1.25 kB / 322.9 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.009991, allocations: 0 / 322.9 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.974e-05/0.01007, allocations: 9.016 kB / 322.9 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.01008, allocations: 0 / 322.9 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.288e-05/0.01012, allocations: 2.812 kB / 322.9 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.01013, allocations: 1.188 kB / 322.9 MB, free: 444 kB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.833e-05/0.0102, allocations: 117 kB / 323 MB, free: 324 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.094e-05/0.01028, allocations: 44.22 kB / 323 MB, free: 284 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.737e-05/0.01031, allocations: 14.25 kB / 323.1 MB, free: 272 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01032, allocations: 1.156 kB / 323.1 MB, free: 272 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.01032, allocations: 5.062 kB / 323.1 MB, free: 268 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01033, allocations: 0 / 323.1 MB, free: 268 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.01049, allocations: 110.8 kB / 323.2 MB, free: 140 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.0105, allocations: 1.156 kB / 323.2 MB, free: 140 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.712e-05/0.01055, allocations: 6.391 kB / 323.2 MB, free: 140 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01056, allocations: 1.125 kB / 323.2 MB, free: 140 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.01057, allocations: 5 kB / 323.2 MB, free: 136 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.01057, allocations: 1.125 kB / 323.2 MB, free: 136 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.01057, allocations: 7.938 kB / 323.2 MB, free: 128 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.01082, allocations: 163.6 kB / 323.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.01087, allocations: 16.11 kB / 323.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.01089, allocations: 4.719 kB / 323.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.565e-05/0.01099, allocations: 8.25 kB / 323.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.01103, allocations: 1.031 kB / 323.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.01103, allocations: 2.781 kB / 323.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001107/0.01115, allocations: 108 kB / 323.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01115, allocations: 0 / 323.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003716/0.01152, allocations: 8.188 kB / 323.5 MB, free: 15.87 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001504/0.01167, allocations: 103.5 kB / 323.6 MB, free: 15.78 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001614/0.01183, allocations: 20.41 kB / 323.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01183, allocations: 0 / 323.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.46e-05/0.01189, allocations: 11.36 kB / 323.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.01236, allocations: 15.25 kB / 323.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004669/0.01282, allocations: 159 kB / 323.8 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.01294, allocations: 71.05 kB / 323.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.63e-05/0.01298, allocations: 2.156 kB / 323.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.175e-05/0.01302, allocations: 14.73 kB / 323.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.01302, allocations: 0 / 323.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of Templates: time 0.004288/0.01731, allocations: 0.5023 MB / 324.4 MB, free: 15.45 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.333543345332146]