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.00079/0.00079, allocations: 88.28 kB / 21.44 MB, free: 3.121 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.003516/0.003516, allocations: 149.5 kB / 24.69 MB, free: 9.441 MB / 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 0.8373/0.8373, allocations: 177 MB / 204.9 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.2294/0.2294, allocations: 34.24 MB / 295.6 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] 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 1.152e-06/1.152e-06, allocations: 0 / 443.4 MB, free: 1.059 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.089e-05, allocations: 6.219 kB / 443.4 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.1589/0.159, allocations: 1.556 MB / 445 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000253/0.1592, allocations: 68.48 kB / 445 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.14e-05/0.1593, allocations: 1.031 kB / 445 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.861e-05/0.1594, allocations: 9.281 kB / 445 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.783e-05/0.1594, allocations: 7.984 kB / 445.1 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000119/0.1595, allocations: 19.53 kB / 445.1 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.9e-05/0.1596, allocations: 37.81 kB / 445.1 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.335e-05/0.1597, allocations: 10.2 kB / 445.1 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.705e-05/0.1597, allocations: 14.41 kB / 445.1 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.875e-05/0.1598, allocations: 17.47 kB / 445.1 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.1598, allocations: 2.844 kB / 445.2 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.225e-06/0.1598, allocations: 2.875 kB / 445.2 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.1598, allocations: 6.984 kB / 445.2 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.078e-05/0.1599, allocations: 17.52 kB / 445.2 MB, free: 43.69 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.312e-05/0.16, allocations: 30.23 kB / 445.2 MB, free: 43.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.16, allocations: 0 / 445.2 MB, free: 43.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.16, allocations: 0 / 445.2 MB, free: 43.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.16, allocations: 0.75 kB / 445.2 MB, free: 43.69 MB / 410.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.000317/0.1603, allocations: 280.7 kB / 445.5 MB, free: 43.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.1603, allocations: 9.156 kB / 445.5 MB, free: 43.42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.995e-05/0.1603, allocations: 7.75 kB / 445.5 MB, free: 43.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.1605, allocations: 130.9 kB / 445.6 MB, free: 43.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-06/0.1605, allocations: 384 / 445.6 MB, free: 43.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.1605, allocations: 3.25 kB / 445.6 MB, free: 43.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.1607, allocations: 76.08 kB / 445.7 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1607, allocations: 192 / 445.7 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.1607, allocations: 384 / 445.7 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1607, allocations: 3.25 kB / 445.7 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.476e-05/0.1607, allocations: 29.69 kB / 445.7 MB, free: 43.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002835/0.161, allocations: 391.5 kB / 446.1 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.1611, allocations: 36.33 kB / 446.2 MB, free: 42.83 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.599e-05/0.1612, allocations: 19.27 kB / 446.2 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.1612, allocations: 2.938 kB / 446.2 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.909e-06/0.1612, allocations: 34.5 kB / 446.2 MB, free: 42.78 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1612, allocations: 0 / 446.2 MB, free: 42.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003191/0.1615, allocations: 120.3 kB / 446.3 MB, free: 42.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.124e-05/0.1615, allocations: 51.41 kB / 446.4 MB, free: 42.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.292e-05/0.1616, allocations: 109.3 kB / 446.5 MB, free: 42.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.901e-06/0.1616, allocations: 32.27 kB / 446.5 MB, free: 42.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.24e-05/0.1616, allocations: 94.23 kB / 446.6 MB, free: 42.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.494e-06/0.1616, allocations: 12.78 kB / 446.6 MB, free: 42.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.1616, allocations: 25.53 kB / 446.6 MB, free: 42.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.586e-05/0.1617, allocations: 317 kB / 447 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.868e-05/0.1617, allocations: 19.2 kB / 447 MB, free: 42.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.901e-05/0.1617, allocations: 41.42 kB / 447 MB, free: 42.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.718e-05/0.1618, allocations: 65.19 kB / 447.1 MB, free: 42.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1618, allocations: 0 / 447.1 MB, free: 42.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.461e-05/0.1619, allocations: 90.8 kB / 447.2 MB, free: 42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.1619, allocations: 5.906 kB / 447.2 MB, free: 42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1619, allocations: 2.812 kB / 447.2 MB, free: 42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1619, allocations: 5.719 kB / 447.2 MB, free: 42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.13e-05/0.1619, allocations: 11.48 kB / 447.2 MB, free: 42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1619, allocations: 2.688 kB / 447.2 MB, free: 42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.939e-05/0.162, allocations: 9.375 kB / 447.2 MB, free: 42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.162, allocations: 2.875 kB / 447.2 MB, free: 42 MB / 410.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 3.704e-05/0.162, allocations: 120.7 kB / 447.3 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.162, allocations: 10.69 kB / 447.3 MB, free: 41.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.401e-05/0.162, allocations: 6.188 kB / 447.3 MB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.162, allocations: 0 / 447.3 MB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.162, allocations: 2.969 kB / 447.3 MB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.162, allocations: 0 / 447.3 MB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.424e-05/0.1621, allocations: 118.8 kB / 447.5 MB, free: 41.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1621, allocations: 0 / 447.5 MB, free: 41.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.334e-05/0.1622, allocations: 8.312 kB / 447.5 MB, free: 41.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1622, allocations: 7.172 kB / 447.5 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.1622, allocations: 4 kB / 447.5 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1622, allocations: 2.969 kB / 447.5 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1622, allocations: 0 / 447.5 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.1623, allocations: 177.6 kB / 447.7 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-06/0.1623, allocations: 11.27 kB / 447.7 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.127e-06/0.1623, allocations: 0 / 447.7 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.959e-05/0.1623, allocations: 5.75 kB / 447.7 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.207e-05/0.1624, allocations: 6.875 kB / 447.7 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-06/0.1624, allocations: 0 / 447.7 MB, free: 41.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.751e-05/0.1624, allocations: 91.44 kB / 447.8 MB, free: 41.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1624, allocations: 4.344 kB / 447.8 MB, free: 41.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001388/0.1625, allocations: 5.844 kB / 447.8 MB, free: 41.51 MB / 410.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.319e-05/0.1626, allocations: 92.31 kB / 447.9 MB, free: 41.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.683e-05/0.1627, allocations: 41.89 kB / 447.9 MB, free: 41.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1627, allocations: 0 / 447.9 MB, free: 41.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.116e-05/0.1627, allocations: 15.44 kB / 447.9 MB, free: 41.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.1629, allocations: 12.86 kB / 447.9 MB, free: 41.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002551/0.1631, allocations: 180.9 kB / 448.1 MB, free: 41.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.208e-05/0.1632, allocations: 72.56 kB / 448.2 MB, free: 41.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.239e-05/0.1632, allocations: 11.53 kB / 448.2 MB, free: 41.18 MB / 410.7 MB Notification: Performance of SimCode: time 3.6e-07/0.1632, allocations: 0 / 448.2 MB, free: 41.18 MB / 410.7 MB Notification: Performance of Templates: time 0.001501/0.1647, allocations: 0.7806 MB / 449 MB, free: 41.16 MB / 410.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.46475257538259]