Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001514/0.001514, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002009/0.002009, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.594/1.594, allocations: 230.3 MB / 258 MB, free: 8.227 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 59.89 kB / 378.8 MB, free: 2.777 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3619, allocations: 53.37 MB / 432.1 MB, free: 7.066 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.004714/0.3666, allocations: 1.73 MB / 433.9 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005903/0.3672, allocations: 167.4 kB / 434 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.3673, allocations: 0 / 434 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.059e-05/0.3674, allocations: 7.875 kB / 434 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.3676, allocations: 11.94 kB / 434 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.3679, allocations: 43.83 kB / 434.1 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.3681, allocations: 47.91 kB / 434.1 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.3682, allocations: 27.97 kB / 434.2 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.426e-05/0.3683, allocations: 23.86 kB / 434.2 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.792e-05/0.3684, allocations: 31.86 kB / 434.2 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.3684, allocations: 4 kB / 434.2 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.612e-05/0.3684, allocations: 4 kB / 434.2 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.528e-05/0.3685, allocations: 15.92 kB / 434.2 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.203e-05/0.3685, allocations: 35.75 kB / 434.3 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.3687, allocations: 73.28 kB / 434.3 MB, free: 4.855 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3687, allocations: 0 / 434.3 MB, free: 4.855 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3687, allocations: 0 / 434.3 MB, free: 4.855 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.3687, allocations: 3.938 kB / 434.3 MB, free: 4.852 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006203/0.3693, allocations: 317.9 kB / 434.7 MB, free: 4.508 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.3694, allocations: 8.031 kB / 434.7 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.895e-05/0.3694, allocations: 8.891 kB / 434.7 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.3698, allocations: 154.2 kB / 434.8 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.3698, allocations: 4.375 kB / 434.8 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.22e-05/0.3698, allocations: 4.375 kB / 434.8 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004296/0.3702, allocations: 166.4 kB / 435 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3702, allocations: 192 / 435 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.3703, allocations: 3.938 kB / 435 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3703, allocations: 0 / 435 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.3704, allocations: 35.92 kB / 435 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000499/0.3709, allocations: 344.9 kB / 435.4 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/0.3712, allocations: 111.8 kB / 435.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.3713, allocations: 54.66 kB / 435.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.3713, allocations: 0 / 435.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.3713, allocations: 38.5 kB / 435.6 MB, free: 3.453 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.3713, allocations: 0 / 435.6 MB, free: 3.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.000381/0.3717, allocations: 125.7 kB / 435.7 MB, free: 3.324 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.773e-05/0.3718, allocations: 110.8 kB / 435.8 MB, free: 3.191 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.372, allocations: 136.3 kB / 435.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.372, allocations: 25.7 kB / 436 MB, free: 3.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.222e-05/0.372, allocations: 88.12 kB / 436 MB, free: 2.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.3721, allocations: 11.95 kB / 436.1 MB, free: 2.918 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.3721, allocations: 25.7 kB / 436.1 MB, free: 2.887 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3723, allocations: 319.1 kB / 436.4 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.538e-05/0.3723, allocations: 19.92 kB / 436.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.026e-05/0.3724, allocations: 71.66 kB / 436.5 MB, free: 2.449 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.3726, allocations: 99.53 kB / 436.6 MB, free: 2.324 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3726, allocations: 0 / 436.6 MB, free: 2.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001923/0.3728, allocations: 109.4 kB / 436.7 MB, free: 2.211 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.3728, allocations: 8 kB / 436.7 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3728, allocations: 0 / 436.7 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.3728, allocations: 4.281 kB / 436.7 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.106e-05/0.3729, allocations: 23.98 kB / 436.7 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.3729, allocations: 4.125 kB / 436.7 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.76e-05/0.373, allocations: 19.89 kB / 436.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.373, allocations: 7.938 kB / 436.8 MB, free: 2.145 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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 0.0001082/0.3731, allocations: 117.8 kB / 436.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.3732, allocations: 77.58 kB / 436.9 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.16e-05/0.3733, allocations: 20.7 kB / 437 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.3733, allocations: 0 / 437 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3733, allocations: 8 kB / 437 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3733, allocations: 0 / 437 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.3736, allocations: 160.6 kB / 437.1 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.3736, allocations: 8 kB / 437.1 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.85e-05/0.3736, allocations: 15.98 kB / 437.2 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.3737, allocations: 4 kB / 437.2 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.3737, allocations: 0 / 437.2 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3737, allocations: 0 / 437.2 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3737, allocations: 4 kB / 437.2 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004094/0.3741, allocations: 320.2 kB / 437.5 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.324e-05/0.3741, allocations: 19.94 kB / 437.5 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.3741, allocations: 7.938 kB / 437.5 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.506e-05/0.3742, allocations: 4 kB / 437.5 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.3743, allocations: 3.984 kB / 437.5 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.3743, allocations: 8 kB / 437.5 MB, free: 1.297 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.045e-05/0.3744, allocations: 109.8 kB / 437.6 MB, free: 1.191 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3744, allocations: 0 / 437.6 MB, free: 1.191 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.3746, allocations: 12 kB / 437.6 MB, free: 1.18 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0001201/0.3748, allocations: 95.19 kB / 437.7 MB, free: 1.078 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.375, allocations: 64.34 kB / 437.8 MB, free: 1.016 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.375, allocations: 3.938 kB / 437.8 MB, free: 1.012 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.359e-05/0.375, allocations: 15.92 kB / 437.8 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004559/0.3755, allocations: 43.94 kB / 437.9 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000429/0.3759, allocations: 191.6 kB / 438 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.3763, allocations: 0.705 MB / 438.7 MB, free: 4 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.226e-05/0.3764, allocations: 8.609 kB / 438.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.3764, allocations: 15.42 kB / 438.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3764, allocations: 0 / 438.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of Templates: time 0.003794/0.3802, allocations: 0.7483 MB / 439.5 MB, free: 15.23 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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: 5.265729711391032]