Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002081/0.002081, allocations: 84.34 kB / 20.95 MB, free: 3.449 MB / 18.57 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.00256/0.00256, allocations: 169.3 kB / 24.27 MB, free: 140 kB / 18.57 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.493/1.493, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.361/0.361, allocations: 32.79 MB / 293.9 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 375.2 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.763e-05/2.919e-05, allocations: 2.312 kB / 375.2 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002922/0.002951, allocations: 1.562 MB / 376.8 MB, free: 3.418 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002614/0.003212, allocations: 67.73 kB / 376.9 MB, free: 3.352 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.928e-05/0.003271, allocations: 0 / 376.9 MB, free: 3.352 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.003383, allocations: 7.875 kB / 376.9 MB, free: 3.344 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.244e-05/0.003415, allocations: 7.938 kB / 376.9 MB, free: 3.336 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001374/0.003552, allocations: 23.95 kB / 376.9 MB, free: 3.312 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.003658, allocations: 35.86 kB / 376.9 MB, free: 3.277 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.734e-05/0.003736, allocations: 4 kB / 376.9 MB, free: 3.273 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.694e-05/0.003793, allocations: 23.97 kB / 377 MB, free: 3.25 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.016e-05/0.003843, allocations: 15.92 kB / 377 MB, free: 3.234 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.003861, allocations: 4 kB / 377 MB, free: 3.23 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.115e-06/0.003869, allocations: 0 / 377 MB, free: 3.23 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.689e-05/0.003886, allocations: 8 kB / 377 MB, free: 3.223 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.444e-05/0.00391, allocations: 3.938 kB / 377 MB, free: 3.219 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.004018, allocations: 43.81 kB / 377 MB, free: 3.176 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.00402, allocations: 0 / 377 MB, free: 3.176 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004021, allocations: 0 / 377 MB, free: 3.176 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.004025, allocations: 0 / 377 MB, free: 3.176 MB / 346.7 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.0004702/0.004495, allocations: 274.2 kB / 377.3 MB, free: 2.875 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.004529, allocations: 16.03 kB / 377.3 MB, free: 2.859 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.229e-05/0.004571, allocations: 8.875 kB / 377.3 MB, free: 2.852 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.004792, allocations: 129.7 kB / 377.5 MB, free: 2.699 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.004805, allocations: 4.375 kB / 377.5 MB, free: 2.695 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.004832, allocations: 8.359 kB / 377.5 MB, free: 2.688 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.005007, allocations: 72.75 kB / 377.5 MB, free: 2.602 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.005017, allocations: 4.188 kB / 377.5 MB, free: 2.598 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.435e-06/0.005025, allocations: 384 / 377.5 MB, free: 2.598 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.005029, allocations: 384 / 377.5 MB, free: 2.598 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.738e-05/0.005127, allocations: 27.92 kB / 377.6 MB, free: 2.57 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005333/0.00566, allocations: 392.9 kB / 378 MB, free: 2.148 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.005832, allocations: 42.56 kB / 378 MB, free: 2.098 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.688e-05/0.005889, allocations: 16.94 kB / 378 MB, free: 2.078 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.005907, allocations: 3.938 kB / 378 MB, free: 2.074 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.00594, allocations: 38.5 kB / 378.1 MB, free: 2.027 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.005941, allocations: 0 / 378.1 MB, free: 2.027 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0005002/0.006441, allocations: 113.5 kB / 378.2 MB, free: 1.91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.006487, allocations: 55.41 kB / 378.2 MB, free: 1.844 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.006602, allocations: 109.8 kB / 378.3 MB, free: 1.727 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.006622, allocations: 25.7 kB / 378.4 MB, free: 1.695 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.538e-05/0.006697, allocations: 96.03 kB / 378.5 MB, free: 1.598 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.006716, allocations: 15.89 kB / 378.5 MB, free: 1.582 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.713e-05/0.006763, allocations: 21.72 kB / 378.5 MB, free: 1.555 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.006945, allocations: 318.8 kB / 378.8 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.173e-05/0.006997, allocations: 8 kB / 378.8 MB, free: 1.227 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.563e-05/0.007073, allocations: 47.42 kB / 378.9 MB, free: 1.168 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.007202, allocations: 55.36 kB / 378.9 MB, free: 1.102 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.007205, allocations: 4 kB / 378.9 MB, free: 1.098 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001989/0.007404, allocations: 89.5 kB / 379 MB, free: 1.004 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.007417, allocations: 4 kB / 379 MB, free: 1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.007424, allocations: 12.02 kB / 379 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.007443, allocations: 4 kB / 379 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.474e-05/0.007508, allocations: 8 kB / 379 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.007515, allocations: 4 kB / 379 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.87e-05/0.007554, allocations: 0 / 379 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.00757, allocations: 11.98 kB / 379 MB, free: 0.9609 MB / 346.7 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 0.0001012/0.007671, allocations: 113.8 kB / 379.2 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.007705, allocations: 11.94 kB / 379.2 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.422e-05/0.00773, allocations: 4.375 kB / 379.2 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.007731, allocations: 0 / 379.2 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.007735, allocations: 4 kB / 379.2 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.007737, allocations: 0 / 379.2 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004104/0.008148, allocations: 125.3 kB / 379.3 MB, free: 0.668 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.008149, allocations: 0 / 379.3 MB, free: 0.668 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.524e-05/0.008234, allocations: 15.92 kB / 379.3 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.008239, allocations: 3.938 kB / 379.3 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.008247, allocations: 0 / 379.3 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.008248, allocations: 0 / 379.3 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.008249, allocations: 0 / 379.3 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.008554, allocations: 187.5 kB / 379.5 MB, free: 460 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.784e-05/0.008572, allocations: 11.89 kB / 379.5 MB, free: 448 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.008588, allocations: 0 / 379.5 MB, free: 448 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.425e-05/0.008662, allocations: 4 kB / 379.5 MB, free: 444 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.896e-05/0.008681, allocations: 3.984 kB / 379.5 MB, free: 440 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.008685, allocations: 0 / 379.5 MB, free: 440 kB / 346.7 MB Notification: Performance of sorting global known variables: time 7.351e-05/0.008758, allocations: 91.22 kB / 379.6 MB, free: 348 kB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008758, allocations: 0 / 379.6 MB, free: 348 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002418/0.009, allocations: 8 kB / 379.6 MB, free: 340 kB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gain.y) * 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 (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 Backend phase and start with SimCode phase: time 0.000138/0.009138, allocations: 99.23 kB / 379.7 MB, free: 228 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001881/0.009326, allocations: 35.98 kB / 379.7 MB, free: 192 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.009329, allocations: 0 / 379.7 MB, free: 192 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.087e-05/0.00938, allocations: 19.98 kB / 379.8 MB, free: 172 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.009702, allocations: 8 kB / 379.8 MB, free: 164 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004691/0.01017, allocations: 156.3 kB / 379.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.41e-05/0.01025, allocations: 67.34 kB / 380 MB, free: 15.89 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.969e-05/0.01029, allocations: 12.17 kB / 380 MB, free: 15.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.883e-05/0.01033, allocations: 8.5 kB / 380 MB, free: 15.88 MB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01033, allocations: 0 / 380 MB, free: 15.88 MB / 362.7 MB Notification: Performance of Templates: time 0.003045/0.01338, allocations: 499.1 kB / 380.5 MB, free: 15.39 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.760792282992043]