Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.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.002337/0.002337, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.002967/0.002967, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.591/1.591, allocations: 177 MB / 204.4 MB, free: 5.637 MB / 186.7 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.366/0.366, allocations: 34.25 MB / 295.2 MB, free: 0.6641 MB / 266.7 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.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 0 / 377.2 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.269e-05/3.506e-05, allocations: 6.25 kB / 377.2 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003434/0.003469, allocations: 1.564 MB / 378.8 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003118/0.003781, allocations: 67.73 kB / 378.8 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.576e-05/0.003857, allocations: 4 kB / 378.8 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.003991, allocations: 7.938 kB / 378.8 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.815e-05/0.004029, allocations: 7.875 kB / 378.8 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.004181, allocations: 19.95 kB / 378.9 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.004303, allocations: 35.92 kB / 378.9 MB, free: 1.223 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.00441, allocations: 8 kB / 378.9 MB, free: 1.215 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.173e-05/0.004472, allocations: 15.92 kB / 378.9 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.653e-05/0.004529, allocations: 7.984 kB / 378.9 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.004552, allocations: 4 kB / 378.9 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.311e-05/0.004565, allocations: 4 kB / 378.9 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.477e-05/0.00459, allocations: 15.92 kB / 379 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.667e-05/0.004626, allocations: 7.984 kB / 379 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.004753, allocations: 35.83 kB / 379 MB, free: 1.125 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.004756, allocations: 0 / 379 MB, free: 1.125 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004756, allocations: 0 / 379 MB, free: 1.125 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.004761, allocations: 3.938 kB / 379 MB, free: 1.121 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.0005547/0.005316, allocations: 278.2 kB / 379.3 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.005355, allocations: 8.031 kB / 379.3 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.2e-05/0.005407, allocations: 8.938 kB / 379.3 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.005668, allocations: 129.7 kB / 379.4 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.005683, allocations: 4.375 kB / 379.4 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.00571, allocations: 384 / 379.4 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.005905, allocations: 76.75 kB / 379.5 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.005914, allocations: 192 / 379.5 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.005927, allocations: 4.375 kB / 379.5 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.005933, allocations: 384 / 379.5 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.006036, allocations: 27.92 kB / 379.5 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006147/0.006651, allocations: 396.8 kB / 379.9 MB, free: 100 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.006838, allocations: 42.55 kB / 380 MB, free: 48 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.097e-05/0.006899, allocations: 20.94 kB / 380 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.006919, allocations: 0 / 380 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.112e-05/0.00697, allocations: 38.44 kB / 380 MB, free: 15.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.006971, allocations: 3.938 kB / 380 MB, free: 15.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.000558/0.007529, allocations: 109.5 kB / 380.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.007577, allocations: 55.41 kB / 380.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.007711, allocations: 113.8 kB / 380.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.007738, allocations: 33.7 kB / 380.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.578e-05/0.007834, allocations: 96.02 kB / 380.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.007852, allocations: 11.91 kB / 380.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.889e-05/0.007911, allocations: 17.72 kB / 380.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.008094, allocations: 322.8 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.114e-05/0.008166, allocations: 12 kB / 380.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.607e-05/0.008242, allocations: 39.42 kB / 380.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.008389, allocations: 63.34 kB / 380.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.00839, allocations: 0 / 380.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002025/0.008593, allocations: 89.5 kB / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.008611, allocations: 8 kB / 381 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.008618, allocations: 0 / 381 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.008638, allocations: 0 / 381 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.347e-05/0.008712, allocations: 15.94 kB / 381 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.008717, allocations: 4.094 kB / 381 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.093e-05/0.008768, allocations: 11.98 kB / 381 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.008775, allocations: 0 / 381 MB, free: 14.91 MB / 362.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.008876, allocations: 113.8 kB / 381.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.008907, allocations: 7.938 kB / 381.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.776e-05/0.008935, allocations: 4 kB / 381.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.008936, allocations: 4 kB / 381.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.008941, allocations: 0 / 381.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.008943, allocations: 0 / 381.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.009125, allocations: 113.3 kB / 381.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.009126, allocations: 4 kB / 381.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.268e-05/0.009209, allocations: 11.98 kB / 381.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.009214, allocations: 7.875 kB / 381.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.009226, allocations: 4 kB / 381.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.00923, allocations: 4 kB / 381.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.009231, allocations: 0 / 381.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.009526, allocations: 179.8 kB / 381.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.54e-05/0.009541, allocations: 15.91 kB / 381.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.009559, allocations: 3.984 kB / 381.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.107e-05/0.00963, allocations: 4.062 kB / 381.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.253e-05/0.009652, allocations: 7.984 kB / 381.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.009656, allocations: 0 / 381.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.621e-05/0.009722, allocations: 91.27 kB / 381.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009722, allocations: 0 / 381.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002445/0.009967, allocations: 4 kB / 381.6 MB, free: 14.28 MB / 362.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.0001229/0.01009, allocations: 99.19 kB / 381.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001714/0.01026, allocations: 31.98 kB / 381.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01026, allocations: 192 / 381.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.031e-05/0.01031, allocations: 23.92 kB / 381.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.01061, allocations: 11.98 kB / 381.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000456/0.01107, allocations: 156.3 kB / 381.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.95e-05/0.01115, allocations: 71.23 kB / 382 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.371e-05/0.01118, allocations: 4 kB / 382 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.122e-05/0.01122, allocations: 12.5 kB / 382 MB, free: 13.82 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01122, allocations: 4 kB / 382 MB, free: 13.82 MB / 362.7 MB Notification: Performance of Templates: time 0.003251/0.01447, allocations: 483.5 kB / 382.4 MB, free: 13.35 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.915347000933252]