Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009907/0.0009907, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001128/0.001128, allocations: 165.7 kB / 24.84 MB, free: 8.711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9531/0.9531, allocations: 158.6 MB / 186.7 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1718/0.1718, allocations: 32.37 MB / 271.5 MB, free: 14.41 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.205e-06/2.205e-06, allocations: 4 kB / 348.9 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/2.992e-05, allocations: 4.281 kB / 348.9 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.001942/0.001972, allocations: 1.581 MB / 350.5 MB, free: 7.582 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002206/0.002193, allocations: 55.81 kB / 350.5 MB, free: 7.527 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.699e-05/0.00226, allocations: 0 / 350.5 MB, free: 7.527 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.002371, allocations: 11.92 kB / 350.5 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.915e-05/0.00241, allocations: 7.875 kB / 350.6 MB, free: 7.508 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001187/0.002529, allocations: 19.97 kB / 350.6 MB, free: 7.488 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.112e-05/0.00262, allocations: 39.86 kB / 350.6 MB, free: 7.449 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.002727, allocations: 7.984 kB / 350.6 MB, free: 7.441 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.556e-05/0.002772, allocations: 19.98 kB / 350.6 MB, free: 7.422 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.559e-05/0.002818, allocations: 11.91 kB / 350.6 MB, free: 7.41 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.002832, allocations: 4 kB / 350.7 MB, free: 7.406 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.736e-06/0.002841, allocations: 4 kB / 350.7 MB, free: 7.402 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.553e-05/0.002857, allocations: 4 kB / 350.7 MB, free: 7.398 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.725e-05/0.002874, allocations: 11.94 kB / 350.7 MB, free: 7.387 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.947e-05/0.002963, allocations: 35.83 kB / 350.7 MB, free: 7.352 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.002965, allocations: 3.938 kB / 350.7 MB, free: 7.348 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.002967, allocations: 0 / 350.7 MB, free: 7.348 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.002971, allocations: 0 / 350.7 MB, free: 7.348 MB / 282.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.0002712/0.003242, allocations: 372.5 kB / 351.1 MB, free: 6.945 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.003275, allocations: 12.03 kB / 351.1 MB, free: 6.934 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.508e-05/0.0033, allocations: 4.938 kB / 351.1 MB, free: 6.93 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.003404, allocations: 132.5 kB / 351.2 MB, free: 6.773 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.575e-06/0.003411, allocations: 4.375 kB / 351.2 MB, free: 6.77 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.003427, allocations: 4.375 kB / 351.2 MB, free: 6.766 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.066e-05/0.003517, allocations: 89.94 kB / 351.3 MB, free: 6.656 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.003524, allocations: 192 / 351.3 MB, free: 6.656 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.00353, allocations: 384 / 351.3 MB, free: 6.656 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.003534, allocations: 384 / 351.3 MB, free: 6.656 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.278e-05/0.003557, allocations: 19.92 kB / 351.3 MB, free: 6.637 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002674/0.003824, allocations: 0.4982 MB / 351.8 MB, free: 6.102 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.699e-05/0.003911, allocations: 39.05 kB / 351.9 MB, free: 6.051 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.41e-05/0.003926, allocations: 15.69 kB / 351.9 MB, free: 6.031 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.061e-06/0.003932, allocations: 0 / 351.9 MB, free: 6.031 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/0.003947, allocations: 45.33 kB / 351.9 MB, free: 5.977 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.003948, allocations: 3.984 kB / 351.9 MB, free: 5.973 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002352/0.004183, allocations: 69.66 kB / 352 MB, free: 5.898 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.004206, allocations: 59.34 kB / 352.1 MB, free: 5.828 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.958e-05/0.004256, allocations: 173.9 kB / 352.2 MB, free: 5.641 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.939e-06/0.004261, allocations: 29.7 kB / 352.3 MB, free: 5.605 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.004296, allocations: 138.8 kB / 352.4 MB, free: 5.465 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.917e-06/0.004305, allocations: 15.91 kB / 352.4 MB, free: 5.449 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.004334, allocations: 31.34 kB / 352.4 MB, free: 5.41 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.701e-05/0.004381, allocations: 496.1 kB / 352.9 MB, free: 4.914 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.979e-06/0.004391, allocations: 4 kB / 352.9 MB, free: 4.91 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.091e-05/0.004412, allocations: 46.72 kB / 353 MB, free: 4.848 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.715e-05/0.004449, allocations: 54.69 kB / 353 MB, free: 4.777 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.00445, allocations: 0 / 353 MB, free: 4.777 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.57e-05/0.004516, allocations: 69.64 kB / 353.1 MB, free: 4.703 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.00453, allocations: 11.92 kB / 353.1 MB, free: 4.691 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.004535, allocations: 0 / 353.1 MB, free: 4.691 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.856e-06/0.004543, allocations: 4 kB / 353.1 MB, free: 4.688 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.82e-05/0.004592, allocations: 19.88 kB / 353.1 MB, free: 4.668 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.004594, allocations: 0 / 353.1 MB, free: 4.668 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.944e-05/0.004614, allocations: 4 kB / 353.1 MB, free: 4.664 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-06/0.004617, allocations: 0 / 353.1 MB, free: 4.664 MB / 282.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 4.826e-05/0.004665, allocations: 160.6 kB / 353.3 MB, free: 4.496 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.797e-05/0.004683, allocations: 15.92 kB / 353.3 MB, free: 4.48 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.029e-05/0.004704, allocations: 8.031 kB / 353.3 MB, free: 4.473 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.004705, allocations: 0 / 353.3 MB, free: 4.473 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.004707, allocations: 0 / 353.3 MB, free: 4.473 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.00471, allocations: 4 kB / 353.3 MB, free: 4.469 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.376e-05/0.004793, allocations: 101.2 kB / 353.4 MB, free: 4.344 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.004794, allocations: 0 / 353.4 MB, free: 4.344 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.192e-05/0.004836, allocations: 11.94 kB / 353.4 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.004838, allocations: 4 kB / 353.4 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.004845, allocations: 0 / 353.4 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.004846, allocations: 3.938 kB / 353.4 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.004847, allocations: 0 / 353.4 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.004958, allocations: 211.9 kB / 353.6 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-06/0.004967, allocations: 3.953 kB / 353.7 MB, free: 4.094 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-06/0.004976, allocations: 0 / 353.7 MB, free: 4.094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.199e-05/0.005008, allocations: 7.938 kB / 353.7 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.463e-05/0.005032, allocations: 8.406 kB / 353.7 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.005035, allocations: 0 / 353.7 MB, free: 4.078 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.257e-05/0.005058, allocations: 127.2 kB / 353.8 MB, free: 3.953 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005058, allocations: 0 / 353.8 MB, free: 3.953 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001457/0.005203, allocations: 7.938 kB / 353.8 MB, free: 3.945 MB / 282.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 6.49e-05/0.005268, allocations: 95.27 kB / 353.9 MB, free: 3.844 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.781e-05/0.005336, allocations: 39.66 kB / 353.9 MB, free: 3.801 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.005337, allocations: 0 / 353.9 MB, free: 3.801 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.57e-05/0.005353, allocations: 15.62 kB / 353.9 MB, free: 3.781 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.005559, allocations: 11.94 kB / 354 MB, free: 3.77 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003/0.005859, allocations: 169.9 kB / 354.1 MB, free: 3.574 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.406e-05/0.005883, allocations: 55.36 kB / 354.2 MB, free: 3.5 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.37e-05/0.005907, allocations: 12.17 kB / 354.2 MB, free: 3.488 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.573e-05/0.005943, allocations: 74.2 kB / 354.3 MB, free: 3.414 MB / 282.7 MB Notification: Performance of SimCode: time 8.62e-07/0.005944, allocations: 3.938 kB / 354.3 MB, free: 3.41 MB / 282.7 MB Notification: Performance of Templates: time 0.002096/0.00804, allocations: 0.6041 MB / 354.9 MB, free: 2.816 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0993601880036294]