Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 106.8 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 219.5 kB / 24.49 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.401/1.401, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2212/0.2212, allocations: 46.96 MB / 361.6 MB, free: 4.121 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator") translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 67.84 kB / 0.4973 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2866, allocations: 66.03 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.002115/0.2887, allocations: 0.824 MB / 0.5626 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001959/0.2889, allocations: 39.89 kB / 0.5626 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.094e-05/0.289, allocations: 7.938 kB / 0.5627 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.785e-05/0.2891, allocations: 3.938 kB / 0.5627 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.981e-05/0.2891, allocations: 7.938 kB / 0.5627 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001053/0.2892, allocations: 19.98 kB / 0.5627 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.2893, allocations: 39.91 kB / 0.5627 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.2894, allocations: 15.59 kB / 0.5627 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.966e-05/0.2894, allocations: 15.97 kB / 0.5628 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.156e-05/0.2895, allocations: 15.88 kB / 0.5628 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.2895, allocations: 0 / 0.5628 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.105e-05/0.2895, allocations: 4 kB / 0.5628 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.946e-05/0.2895, allocations: 7.984 kB / 0.5628 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.488e-05/0.2896, allocations: 11.94 kB / 0.5628 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.2897, allocations: 43.81 kB / 0.5628 GB, free: 3.137 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2897, allocations: 4 kB / 0.5628 GB, free: 3.133 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2897, allocations: 0 / 0.5628 GB, free: 3.133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.2897, allocations: 0 / 0.5628 GB, free: 3.133 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.0004358/0.2901, allocations: 281.9 kB / 0.5631 GB, free: 2.824 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.2902, allocations: 8.031 kB / 0.5631 GB, free: 2.816 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/0.2902, allocations: 12.83 kB / 0.5631 GB, free: 2.805 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.2904, allocations: 122.5 kB / 0.5632 GB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.2904, allocations: 384 / 0.5632 GB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.2904, allocations: 4.375 kB / 0.5632 GB, free: 2.656 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.2906, allocations: 54.25 kB / 0.5633 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.2906, allocations: 192 / 0.5633 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.2906, allocations: 3.938 kB / 0.5633 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.2906, allocations: 0 / 0.5633 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.304e-05/0.2906, allocations: 15.98 kB / 0.5633 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004477/0.2911, allocations: 232.4 kB / 0.5635 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.842e-05/0.2911, allocations: 22.58 kB / 0.5636 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.074e-05/0.2911, allocations: 12.86 kB / 0.5636 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.501e-06/0.2912, allocations: 0 / 0.5636 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.939e-05/0.2912, allocations: 59.34 kB / 0.5636 GB, free: 2.203 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.031e-06/0.2912, allocations: 0 / 0.5636 GB, free: 2.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001371/0.2914, allocations: 53.64 kB / 0.5637 GB, free: 2.145 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.2914, allocations: 51.41 kB / 0.5637 GB, free: 2.082 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.766e-05/0.2915, allocations: 109.8 kB / 0.5638 GB, free: 1.965 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.2915, allocations: 25.7 kB / 0.5639 GB, free: 1.934 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.508e-05/0.2916, allocations: 92.03 kB / 0.5639 GB, free: 1.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.2916, allocations: 11.94 kB / 0.564 GB, free: 1.828 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.2916, allocations: 17.72 kB / 0.564 GB, free: 1.805 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.2918, allocations: 318.8 kB / 0.5643 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.711e-05/0.2918, allocations: 4 kB / 0.5643 GB, free: 1.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.979e-05/0.2918, allocations: 29.64 kB / 0.5643 GB, free: 1.445 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.649e-05/0.2919, allocations: 29.98 kB / 0.5643 GB, free: 1.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.2919, allocations: 0 / 0.5643 GB, free: 1.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.982e-05/0.292, allocations: 49.62 kB / 0.5644 GB, free: 1.355 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.292, allocations: 8 kB / 0.5644 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.292, allocations: 0 / 0.5644 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.292, allocations: 0 / 0.5644 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.444e-05/0.292, allocations: 8 kB / 0.5644 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.292, allocations: 0 / 0.5644 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.579e-05/0.292, allocations: 4.031 kB / 0.5644 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/0.292, allocations: 4.312 kB / 0.5644 GB, free: 1.332 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 8.325e-05/0.2921, allocations: 117.8 kB / 0.5645 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.092e-05/0.2921, allocations: 3.953 kB / 0.5645 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.436e-05/0.2922, allocations: 8 kB / 0.5645 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2922, allocations: 4 kB / 0.5645 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2922, allocations: 0 / 0.5645 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.226e-06/0.2922, allocations: 4 kB / 0.5645 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.2922, allocations: 0 / 0.5645 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.17e-05/0.2922, allocations: 15.86 kB / 0.5646 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.2923, allocations: 0 / 0.5646 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001636/0.2924, allocations: 132.9 kB / 0.5647 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001932/0.2926, allocations: 230.8 kB / 0.5649 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.763e-05/0.2926, allocations: 8.031 kB / 0.5649 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.062e-05/0.2927, allocations: 95.19 kB / 0.565 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of Backend: time 2.5e-07/0.2927, allocations: 3.938 kB / 0.565 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003132/0.293, allocations: 74.41 kB / 0.5651 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005429/0.2935, allocations: 0.5883 MB / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of Templates: time 0.002874/0.2964, allocations: 0.5487 MB / 0.5662 GB, free: 15.43 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/SelfResettingIntegrator/SelfResettingIntegrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 4.57017072099552]