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.001581/0.001581, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001975/0.001975, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.463/1.463, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2298/0.2298, allocations: 46.96 MB / 361.6 MB, free: 4.027 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.002141/0.002141, allocations: 72.08 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3059, allocations: 66.04 MB / 0.5618 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002801/0.3087, allocations: 1.566 MB / 0.5633 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002481/0.3089, allocations: 67.8 kB / 0.5634 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.391e-05/0.309, allocations: 3.938 kB / 0.5634 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.3091, allocations: 3.938 kB / 0.5634 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.011e-05/0.3091, allocations: 3.938 kB / 0.5634 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001272/0.3093, allocations: 27.95 kB / 0.5634 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.3094, allocations: 35.86 kB / 0.5635 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.023e-05/0.3094, allocations: 8 kB / 0.5635 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.959e-05/0.3095, allocations: 15.92 kB / 0.5635 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.71e-05/0.3095, allocations: 11.94 kB / 0.5635 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.3095, allocations: 4 kB / 0.5635 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-06/0.3096, allocations: 7.938 kB / 0.5635 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.985e-05/0.3096, allocations: 15.91 kB / 0.5635 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.3096, allocations: 11.94 kB / 0.5635 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.242e-05/0.3097, allocations: 30.52 kB / 0.5636 GB, free: 2.324 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3097, allocations: 0 / 0.5636 GB, free: 2.324 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3097, allocations: 0 / 0.5636 GB, free: 2.324 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.3097, allocations: 4 kB / 0.5636 GB, free: 2.32 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.0004523/0.3102, allocations: 285.9 kB / 0.5638 GB, free: 2.012 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.3102, allocations: 8.031 kB / 0.5639 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.3102, allocations: 8.891 kB / 0.5639 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.3104, allocations: 114.5 kB / 0.564 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.3104, allocations: 4.375 kB / 0.564 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.3104, allocations: 4.375 kB / 0.564 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.3106, allocations: 72.75 kB / 0.564 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.3106, allocations: 192 / 0.564 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.3106, allocations: 11.94 kB / 0.5641 GB, free: 1.754 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-06/0.3106, allocations: 0 / 0.5641 GB, free: 1.754 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.3107, allocations: 23.92 kB / 0.5641 GB, free: 1.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004667/0.3112, allocations: 388.9 kB / 0.5645 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.3114, allocations: 50.42 kB / 0.5645 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.202e-05/0.3114, allocations: 16.86 kB / 0.5645 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.3114, allocations: 0 / 0.5645 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.3115, allocations: 34.56 kB / 0.5645 GB, free: 1.191 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.3115, allocations: 0 / 0.5645 GB, free: 1.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004555/0.3119, allocations: 113.8 kB / 0.5647 GB, free: 1.074 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.312, allocations: 51.41 kB / 0.5647 GB, free: 1.012 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.433e-05/0.3121, allocations: 113.8 kB / 0.5648 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.3121, allocations: 30.08 kB / 0.5648 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.3121, allocations: 96.02 kB / 0.5649 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.3122, allocations: 19.84 kB / 0.565 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.3122, allocations: 17.72 kB / 0.565 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3123, allocations: 334.7 kB / 0.5653 GB, free: 388 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.407e-05/0.3124, allocations: 15.97 kB / 0.5653 GB, free: 372 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.617e-05/0.3125, allocations: 43.42 kB / 0.5653 GB, free: 316 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.3126, allocations: 55.36 kB / 0.5654 GB, free: 248 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3126, allocations: 0 / 0.5654 GB, free: 248 kB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001773/0.3128, allocations: 93.53 kB / 0.5655 GB, free: 148 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.3128, allocations: 4 kB / 0.5655 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.3128, allocations: 4 kB / 0.5655 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.3128, allocations: 0 / 0.5655 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.546e-05/0.3128, allocations: 8 kB / 0.5655 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.3129, allocations: 7.984 kB / 0.5655 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.886e-05/0.3129, allocations: 0 / 0.5655 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.3129, allocations: 4 kB / 0.5655 GB, free: 120 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 0.0001531/0.3131, allocations: 117.8 kB / 0.5656 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.3131, allocations: 7.953 kB / 0.5656 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.3131, allocations: 16.06 kB / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.3131, allocations: 0 / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.3131, allocations: 0 / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.3131, allocations: 3.938 kB / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.3133, allocations: 113.2 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.3133, allocations: 7.938 kB / 0.5658 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.291e-05/0.3134, allocations: 12 kB / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3134, allocations: 0 / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.3134, allocations: 0 / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3134, allocations: 0 / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3134, allocations: 0 / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.3136, allocations: 179.5 kB / 0.566 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.202e-05/0.3136, allocations: 7.984 kB / 0.566 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.3136, allocations: 0 / 0.566 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.786e-05/0.3137, allocations: 7.984 kB / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.124e-05/0.3137, allocations: 4 kB / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.3137, allocations: 0 / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.064e-05/0.3138, allocations: 95.2 kB / 0.5661 GB, free: 15.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3138, allocations: 4.219 kB / 0.5661 GB, free: 15.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002281/0.314, allocations: 8 kB / 0.5661 GB, free: 15.48 MB / 414.1 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 8.153e-05/0.3141, allocations: 91.31 kB / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001567/0.3142, allocations: 47.84 kB / 0.5662 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3142, allocations: 0 / 0.5662 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.542e-05/0.3143, allocations: 16 kB / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.3146, allocations: 11.92 kB / 0.5662 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003653/0.3149, allocations: 180 kB / 0.5664 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.552e-05/0.315, allocations: 71.52 kB / 0.5665 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/0.315, allocations: 11.44 kB / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.315, allocations: 0 / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of Templates: time 0.002152/0.3172, allocations: 0.7783 MB / 0.5672 GB, free: 14.22 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: 7.266096515988465]