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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001326/0.001326, allocations: 109.5 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001542/0.001542, allocations: 208.4 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 230.2 MB / 256.8 MB, free: 8.637 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2301/0.2301, allocations: 46.9 MB / 359.9 MB, free: 4.973 MB / 286.1 MB [Timeout remaining time 90] 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 0.002216/0.002216, allocations: 80.16 kB / 0.495 GB, free: 8.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3404, allocations: 66 MB / 0.5594 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002861/0.3433, allocations: 1.558 MB / 0.5609 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002712/0.3436, allocations: 71.78 kB / 0.561 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.441e-05/0.3436, allocations: 4 kB / 0.561 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.3437, allocations: 7.875 kB / 0.561 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.133e-05/0.3438, allocations: 3.938 kB / 0.561 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.3439, allocations: 19.97 kB / 0.561 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.344, allocations: 35.86 kB / 0.5611 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.231e-05/0.3441, allocations: 8 kB / 0.5611 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.292e-05/0.3442, allocations: 23.91 kB / 0.5611 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.158e-05/0.3442, allocations: 15.92 kB / 0.5611 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.3442, allocations: 0 / 0.5611 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.17e-05/0.3443, allocations: 4 kB / 0.5611 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.725e-05/0.3443, allocations: 7.938 kB / 0.5611 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.3443, allocations: 15.88 kB / 0.5611 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.3444, allocations: 42.42 kB / 0.5612 GB, free: 3.336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3444, allocations: 0 / 0.5612 GB, free: 3.336 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.537e-06/0.3444, allocations: 4 kB / 0.5612 GB, free: 3.332 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.3444, allocations: 0 / 0.5612 GB, free: 3.332 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.0004822/0.3449, allocations: 355 kB / 0.5615 GB, free: 2.938 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.345, allocations: 12.02 kB / 0.5615 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.345, allocations: 8.891 kB / 0.5616 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.3452, allocations: 172.4 kB / 0.5617 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.3452, allocations: 8.375 kB / 0.5617 GB, free: 2.703 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.3453, allocations: 384 / 0.5617 GB, free: 2.703 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.3455, allocations: 80.75 kB / 0.5618 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.3455, allocations: 192 / 0.5618 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.3455, allocations: 3.938 kB / 0.5618 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3455, allocations: 0 / 0.5618 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.222e-05/0.3456, allocations: 23.98 kB / 0.5618 GB, free: 2.582 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005478/0.3461, allocations: 461.1 kB / 0.5623 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.3463, allocations: 38.56 kB / 0.5623 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.197e-05/0.3463, allocations: 16.94 kB / 0.5623 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.3463, allocations: 0 / 0.5623 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.3464, allocations: 38.5 kB / 0.5624 GB, free: 1.961 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.3464, allocations: 0 / 0.5624 GB, free: 1.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004727/0.3468, allocations: 105.9 kB / 0.5625 GB, free: 1.852 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.3469, allocations: 55.34 kB / 0.5625 GB, free: 1.785 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.347, allocations: 117.8 kB / 0.5626 GB, free: 1.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.347, allocations: 25.7 kB / 0.5626 GB, free: 1.629 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.242e-05/0.3471, allocations: 92.08 kB / 0.5627 GB, free: 1.535 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.533e-05/0.3471, allocations: 15.84 kB / 0.5628 GB, free: 1.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.3471, allocations: 25.66 kB / 0.5628 GB, free: 1.488 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3473, allocations: 326.8 kB / 0.5631 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.312e-05/0.3473, allocations: 12 kB / 0.5631 GB, free: 1.148 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.464e-05/0.3474, allocations: 39.78 kB / 0.5631 GB, free: 1.098 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.3475, allocations: 67.34 kB / 0.5632 GB, free: 1.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3475, allocations: 4 kB / 0.5632 GB, free: 1.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001735/0.3477, allocations: 77.56 kB / 0.5633 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.3477, allocations: 11.94 kB / 0.5633 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3477, allocations: 0 / 0.5633 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.3477, allocations: 0 / 0.5633 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-05/0.3478, allocations: 20.03 kB / 0.5633 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3478, allocations: 4.156 kB / 0.5633 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.353e-05/0.3478, allocations: 7.984 kB / 0.5633 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.3479, allocations: 7.984 kB / 0.5633 GB, free: 0.8828 MB / 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 8.593e-05/0.3479, allocations: 113.8 kB / 0.5634 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.348, allocations: 7.953 kB / 0.5634 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.046e-05/0.348, allocations: 3.906 kB / 0.5634 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.348, allocations: 4 kB / 0.5635 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.348, allocations: 0 / 0.5635 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.348, allocations: 4 kB / 0.5635 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.3482, allocations: 169.6 kB / 0.5636 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3482, allocations: 0 / 0.5636 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.762e-05/0.3483, allocations: 15.98 kB / 0.5636 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.3483, allocations: 0 / 0.5636 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.3483, allocations: 4 kB / 0.5636 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3483, allocations: 3.938 kB / 0.5636 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3483, allocations: 0 / 0.5636 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.3486, allocations: 183.5 kB / 0.5638 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-05/0.3486, allocations: 81.06 kB / 0.5639 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.3486, allocations: 0 / 0.5639 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.513e-05/0.3487, allocations: 8.031 kB / 0.5639 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.862e-05/0.3487, allocations: 3.984 kB / 0.5639 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.3487, allocations: 0 / 0.5639 GB, free: 200 kB / 398.1 MB Notification: Performance of sorting global known variables: time 5.171e-05/0.3488, allocations: 87.28 kB / 0.564 GB, free: 112 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3488, allocations: 0 / 0.564 GB, free: 112 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002203/0.349, allocations: 8 kB / 0.564 GB, free: 104 kB / 398.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 0.00013/0.3491, allocations: 111.1 kB / 0.5641 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001563/0.3493, allocations: 31.98 kB / 0.5641 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3493, allocations: 0 / 0.5641 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.181e-05/0.3493, allocations: 24.2 kB / 0.5642 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.3496, allocations: 7.938 kB / 0.5642 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003844/0.35, allocations: 184 kB / 0.5643 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.3503, allocations: 0.6807 MB / 0.565 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/0.3503, allocations: 11.44 kB / 0.565 GB, free: 14.99 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3503, allocations: 0 / 0.565 GB, free: 14.99 MB / 414.1 MB Notification: Performance of Templates: time 0.002305/0.3526, allocations: 0.7664 MB / 0.5658 GB, free: 14.22 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins1/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