Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.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.001833/0.001833, allocations: 106.8 kB / 21.19 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.002247/0.002247, allocations: 213.3 kB / 24.49 MB, free: 3.934 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.421/1.421, allocations: 230.6 MB / 258.3 MB, free: 7.746 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.2173/0.2173, allocations: 46.97 MB / 361.6 MB, free: 4.023 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.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 72.12 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2785, allocations: 66.04 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002812/0.2813, allocations: 1.56 MB / 0.5633 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002344/0.2815, allocations: 63.8 kB / 0.5634 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.762e-05/0.2816, allocations: 0 / 0.5634 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.2817, allocations: 11.88 kB / 0.5634 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.286e-05/0.2817, allocations: 3.938 kB / 0.5634 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001278/0.2819, allocations: 19.98 kB / 0.5634 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.282, allocations: 39.91 kB / 0.5635 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.106e-05/0.282, allocations: 4 kB / 0.5635 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.959e-05/0.2821, allocations: 15.92 kB / 0.5635 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.083e-05/0.2821, allocations: 19.86 kB / 0.5635 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.2821, allocations: 0 / 0.5635 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.13e-05/0.2821, allocations: 4 kB / 0.5635 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.2822, allocations: 4 kB / 0.5635 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.69e-05/0.2822, allocations: 15.92 kB / 0.5635 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.79e-05/0.2823, allocations: 39.42 kB / 0.5636 GB, free: 2.359 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2823, allocations: 8 kB / 0.5636 GB, free: 2.352 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2823, allocations: 0 / 0.5636 GB, free: 2.352 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.2823, allocations: 0 / 0.5636 GB, free: 2.352 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004157/0.2827, allocations: 276.9 kB / 0.5638 GB, free: 2.051 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.2828, allocations: 8.031 kB / 0.5638 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.871e-05/0.2828, allocations: 8.891 kB / 0.5639 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.283, allocations: 118.5 kB / 0.564 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.283, allocations: 384 / 0.564 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.283, allocations: 8.375 kB / 0.564 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.2832, allocations: 76.75 kB / 0.564 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.2832, allocations: 4.188 kB / 0.5641 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.2832, allocations: 3.938 kB / 0.5641 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.2832, allocations: 0 / 0.5641 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.046e-05/0.2833, allocations: 19.98 kB / 0.5641 GB, free: 1.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004751/0.2838, allocations: 396.8 kB / 0.5645 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.2839, allocations: 46.5 kB / 0.5645 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.119e-05/0.284, allocations: 16.94 kB / 0.5645 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.284, allocations: 11.92 kB / 0.5645 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.284, allocations: 38.5 kB / 0.5646 GB, free: 1.211 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.133e-06/0.284, allocations: 0 / 0.5646 GB, free: 1.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004394/0.2845, allocations: 109.5 kB / 0.5647 GB, free: 1.098 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.2845, allocations: 51.41 kB / 0.5647 GB, free: 1.035 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.483e-05/0.2846, allocations: 117.8 kB / 0.5648 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.2846, allocations: 29.7 kB / 0.5649 GB, free: 0.875 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.627e-05/0.2847, allocations: 88.09 kB / 0.5649 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.2847, allocations: 23.83 kB / 0.565 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.2848, allocations: 17.72 kB / 0.565 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.2849, allocations: 322.8 kB / 0.5653 GB, free: 424 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.322e-05/0.285, allocations: 12 kB / 0.5653 GB, free: 412 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.132e-05/0.285, allocations: 39.42 kB / 0.5653 GB, free: 360 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.2851, allocations: 59.3 kB / 0.5654 GB, free: 288 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.2851, allocations: 0 / 0.5654 GB, free: 288 kB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001712/0.2853, allocations: 89.56 kB / 0.5655 GB, free: 192 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.2853, allocations: 4 kB / 0.5655 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.2853, allocations: 7.984 kB / 0.5655 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.2853, allocations: 0 / 0.5655 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.308e-05/0.2854, allocations: 15.94 kB / 0.5655 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.2854, allocations: 160 / 0.5655 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.27e-05/0.2855, allocations: 4 kB / 0.5655 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.2855, allocations: 11.97 kB / 0.5655 GB, free: 148 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.168e-05/0.2856, allocations: 117.9 kB / 0.5656 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.2856, allocations: 7.953 kB / 0.5656 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/0.2857, allocations: 8.078 kB / 0.5656 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2857, allocations: 0 / 0.5656 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2857, allocations: 0 / 0.5656 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.082e-05/0.2857, allocations: 4 kB / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.2857, allocations: 0 / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.107e-05/0.2858, allocations: 7.984 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.096e-05/0.2858, allocations: 7.938 kB / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002472/0.286, allocations: 153.2 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002875/0.2863, allocations: 251.2 kB / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.011e-05/0.2864, allocations: 16.05 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.563e-05/0.2864, allocations: 95.2 kB / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of Backend: time 3e-07/0.2864, allocations: 0 / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003707/0.2868, allocations: 104.8 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of SimCode: time 0.0005779/0.2874, allocations: 0.5928 MB / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of Templates: time 0.002968/0.2903, allocations: 0.6001 MB / 0.5674 GB, free: 14.11 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.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.6275295989980805]