Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.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.001668/0.001668, allocations: 106.5 kB / 21.22 MB, free: 0.5117 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.002224/0.002224, allocations: 214 kB / 24.54 MB, free: 3.875 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.491/1.491, allocations: 230.3 MB / 258 MB, free: 8.203 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2591/0.2591, allocations: 46.89 MB / 361.3 MB, free: 4.422 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator") translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002394/0.002394, allocations: 79.8 kB / 0.4971 GB, free: 7.586 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3755, allocations: 66.03 MB / 0.5615 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.002611/0.3781, allocations: 0.8279 MB / 0.5623 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002416/0.3783, allocations: 39.89 kB / 0.5624 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.381e-05/0.3784, allocations: 3.938 kB / 0.5624 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.3785, allocations: 11.92 kB / 0.5624 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.137e-05/0.3785, allocations: 7.922 kB / 0.5624 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001589/0.3787, allocations: 23.92 kB / 0.5624 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.3788, allocations: 39.86 kB / 0.5625 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.3789, allocations: 18.8 kB / 0.5625 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.23e-05/0.3789, allocations: 7.938 kB / 0.5625 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.602e-05/0.379, allocations: 15.92 kB / 0.5625 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.379, allocations: 4 kB / 0.5625 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.362e-05/0.379, allocations: 4 kB / 0.5625 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.379, allocations: 4 kB / 0.5625 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.168e-05/0.3791, allocations: 23.86 kB / 0.5625 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.3792, allocations: 39.83 kB / 0.5626 GB, free: 3.527 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3792, allocations: 0 / 0.5626 GB, free: 3.527 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3792, allocations: 0 / 0.5626 GB, free: 3.527 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3792, allocations: 0 / 0.5626 GB, free: 3.527 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005217/0.3797, allocations: 282.8 kB / 0.5628 GB, free: 3.219 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.3798, allocations: 12.03 kB / 0.5629 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.3798, allocations: 4.891 kB / 0.5629 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.38, allocations: 122.5 kB / 0.563 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.38, allocations: 12.38 kB / 0.563 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.38, allocations: 384 / 0.563 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.3802, allocations: 50.25 kB / 0.563 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.3802, allocations: 192 / 0.563 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.3802, allocations: 3.938 kB / 0.563 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.3802, allocations: 4 kB / 0.563 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.845e-05/0.3803, allocations: 15.98 kB / 0.5631 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005193/0.3808, allocations: 259.8 kB / 0.5633 GB, free: 2.672 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.934e-05/0.3808, allocations: 30.56 kB / 0.5633 GB, free: 2.633 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.883e-05/0.3809, allocations: 8.922 kB / 0.5633 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.3809, allocations: 0 / 0.5633 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.323e-05/0.3809, allocations: 59.3 kB / 0.5634 GB, free: 2.551 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.3809, allocations: 0 / 0.5634 GB, free: 2.551 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001534/0.3811, allocations: 45.69 kB / 0.5634 GB, free: 2.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.3811, allocations: 55.41 kB / 0.5635 GB, free: 2.434 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.3812, allocations: 121.8 kB / 0.5636 GB, free: 2.305 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.3813, allocations: 25.7 kB / 0.5636 GB, free: 2.273 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.911e-05/0.3813, allocations: 88.09 kB / 0.5637 GB, free: 2.184 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.3814, allocations: 20 kB / 0.5637 GB, free: 2.164 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.3814, allocations: 17.66 kB / 0.5638 GB, free: 2.141 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.3815, allocations: 318.8 kB / 0.5641 GB, free: 1.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.185e-05/0.3816, allocations: 11.98 kB / 0.5641 GB, free: 1.809 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.524e-05/0.3816, allocations: 21.66 kB / 0.5641 GB, free: 1.781 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.081e-05/0.3816, allocations: 21.72 kB / 0.5641 GB, free: 1.754 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3816, allocations: 0 / 0.5641 GB, free: 1.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.762e-05/0.3817, allocations: 57.91 kB / 0.5642 GB, free: 1.691 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3817, allocations: 6.344 kB / 0.5642 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3817, allocations: 0 / 0.5642 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.3817, allocations: 4.047 kB / 0.5642 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.484e-05/0.3818, allocations: 12.02 kB / 0.5642 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.3818, allocations: 0 / 0.5642 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.239e-05/0.3818, allocations: 7.938 kB / 0.5642 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.3818, allocations: 7.938 kB / 0.5642 GB, free: 1.656 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (greaterEqualThreshold.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001061/0.3819, allocations: 115.2 kB / 0.5643 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.3819, allocations: 4 kB / 0.5643 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.457e-05/0.382, allocations: 4 kB / 0.5643 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.382, allocations: 3.938 kB / 0.5643 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.382, allocations: 0 / 0.5643 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.382, allocations: 8 kB / 0.5643 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003158/0.3823, allocations: 273.6 kB / 0.5646 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3823, allocations: 0 / 0.5646 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.347e-05/0.3823, allocations: 4 kB / 0.5646 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3823, allocations: 0 / 0.5646 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.3823, allocations: 0 / 0.5646 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.3823, allocations: 3.938 kB / 0.5646 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3823, allocations: 0 / 0.5646 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.3825, allocations: 155.5 kB / 0.5648 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.412e-05/0.3825, allocations: 7.938 kB / 0.5648 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.3825, allocations: 0 / 0.5648 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.004e-05/0.3826, allocations: 7.938 kB / 0.5648 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.751e-05/0.3826, allocations: 0 / 0.5648 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.3826, allocations: 0 / 0.5648 GB, free: 1 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.464e-05/0.3827, allocations: 99.58 kB / 0.5649 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3827, allocations: 0 / 0.5649 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002211/0.3829, allocations: 8 kB / 0.5649 GB, free: 0.8945 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.y) * Number of discrete variables: 2 (greaterEqualThreshold.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001083/0.383, allocations: 91.31 kB / 0.565 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.668e-05/0.3831, allocations: 23.92 kB / 0.565 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3831, allocations: 0 / 0.565 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.814e-05/0.3831, allocations: 7.938 kB / 0.565 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.3834, allocations: 14.52 kB / 0.565 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003237/0.3837, allocations: 141.5 kB / 0.5651 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.3841, allocations: 0.6885 MB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.22e-05/0.3842, allocations: 4 kB / 0.5658 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.504e-05/0.3842, allocations: 11.44 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3842, allocations: 3.938 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of Templates: time 0.003141/0.3873, allocations: 0.5153 MB / 0.5663 GB, free: 15.34 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/SelfResettingIntegrator/SelfResettingIntegrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.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.31085903942585]