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.00183/0.00183, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.00227/0.00227, allocations: 203.5 kB / 23.72 MB, free: 4.391 MB / 14.72 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.652/1.652, allocations: 230.5 MB / 257.4 MB, free: 7.754 MB / 206.1 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.3175/0.3175, allocations: 46.93 MB / 360.8 MB, free: 3.918 MB / 286.1 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 0.002091/0.002091, allocations: 79.88 kB / 0.4966 GB, free: 7.051 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5415/0.5436, allocations: 66.09 MB / 0.5612 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.00354/0.5471, allocations: 1.556 MB / 0.5627 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003004/0.5474, allocations: 67.73 kB / 0.5628 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.448e-05/0.5475, allocations: 4 kB / 0.5628 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.5476, allocations: 7.938 kB / 0.5628 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.301e-05/0.5476, allocations: 3.938 kB / 0.5628 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000136/0.5478, allocations: 23.91 kB / 0.5628 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000107/0.5479, allocations: 39.86 kB / 0.5628 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.732e-05/0.5479, allocations: 0 / 0.5628 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.51e-05/0.548, allocations: 19.97 kB / 0.5628 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.236e-05/0.548, allocations: 15.88 kB / 0.5629 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.548, allocations: 0 / 0.5629 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.4e-05/0.548, allocations: 4 kB / 0.5629 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.759e-05/0.5481, allocations: 7.984 kB / 0.5629 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.49e-05/0.5481, allocations: 15.88 kB / 0.5629 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.5482, allocations: 35.55 kB / 0.5629 GB, free: 2.152 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.5482, allocations: 4 kB / 0.5629 GB, free: 2.148 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5482, allocations: 0 / 0.5629 GB, free: 2.148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.5482, allocations: 3.938 kB / 0.5629 GB, free: 2.145 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.0005101/0.5487, allocations: 272.9 kB / 0.5632 GB, free: 1.848 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.5488, allocations: 8.031 kB / 0.5632 GB, free: 1.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/0.5488, allocations: 8.891 kB / 0.5632 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.5491, allocations: 126.5 kB / 0.5633 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.5491, allocations: 384 / 0.5633 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.5491, allocations: 8.375 kB / 0.5633 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.5493, allocations: 68.81 kB / 0.5634 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.5493, allocations: 192 / 0.5634 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.5494, allocations: 7.938 kB / 0.5634 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.5494, allocations: 0 / 0.5634 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.889e-05/0.5495, allocations: 31.86 kB / 0.5634 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005523/0.55, allocations: 388.8 kB / 0.5638 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.5502, allocations: 54.48 kB / 0.5639 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.799e-05/0.5503, allocations: 12.86 kB / 0.5639 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.5503, allocations: 0 / 0.5639 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.5503, allocations: 38.56 kB / 0.5639 GB, free: 1.012 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.5503, allocations: 0 / 0.5639 GB, free: 1.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005128/0.5508, allocations: 109.8 kB / 0.564 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.5509, allocations: 55.41 kB / 0.5641 GB, free: 0.832 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.551, allocations: 117.8 kB / 0.5642 GB, free: 0.707 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.551, allocations: 25.7 kB / 0.5642 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.919e-05/0.5511, allocations: 96.08 kB / 0.5643 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.5511, allocations: 11.84 kB / 0.5643 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.5511, allocations: 17.72 kB / 0.5643 GB, free: 0.543 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.5513, allocations: 326.8 kB / 0.5646 GB, free: 220 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.32e-05/0.5513, allocations: 15.98 kB / 0.5647 GB, free: 204 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.276e-05/0.5514, allocations: 43.36 kB / 0.5647 GB, free: 148 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.5515, allocations: 63.36 kB / 0.5648 GB, free: 72 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.5515, allocations: 0 / 0.5648 GB, free: 72 kB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001788/0.5517, allocations: 81.56 kB / 0.5648 GB, free: 15.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.5517, allocations: 10.34 kB / 0.5648 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.5517, allocations: 384 / 0.5648 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.5517, allocations: 0 / 0.5648 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.912e-05/0.5518, allocations: 12 kB / 0.5649 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.5518, allocations: 4.078 kB / 0.5649 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.133e-05/0.5519, allocations: 15.94 kB / 0.5649 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.5519, allocations: 0 / 0.5649 GB, free: 15.95 MB / 414.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.0001/0.552, allocations: 121.7 kB / 0.565 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.552, allocations: 7.953 kB / 0.565 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.84e-05/0.552, allocations: 4 kB / 0.565 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.552, allocations: 0 / 0.565 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.552, allocations: 0 / 0.565 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.552, allocations: 7.984 kB / 0.565 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.5522, allocations: 121.2 kB / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.5522, allocations: 0 / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.101e-05/0.5523, allocations: 15.94 kB / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.5523, allocations: 0 / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.5523, allocations: 0 / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5523, allocations: 0 / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.5523, allocations: 4 kB / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.5525, allocations: 183.4 kB / 0.5653 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.154e-05/0.5525, allocations: 3.953 kB / 0.5653 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.5526, allocations: 0 / 0.5653 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.037e-05/0.5526, allocations: 7.984 kB / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.302e-05/0.5526, allocations: 64 / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.5527, allocations: 4 kB / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.235e-05/0.5527, allocations: 91.27 kB / 0.5654 GB, free: 15.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5527, allocations: 0 / 0.5654 GB, free: 15.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002185/0.5529, allocations: 12 kB / 0.5654 GB, free: 15.31 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 0.0001106/0.5531, allocations: 87.25 kB / 0.5655 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001921/0.5532, allocations: 39.91 kB / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5532, allocations: 0 / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.756e-05/0.5533, allocations: 20.19 kB / 0.5656 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.5536, allocations: 16.25 kB / 0.5656 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004281/0.554, allocations: 154.3 kB / 0.5657 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.961e-05/0.5541, allocations: 71.27 kB / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.199e-05/0.5541, allocations: 11.92 kB / 0.5658 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.5542, allocations: 11.44 kB / 0.5658 GB, free: 14.85 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.5542, allocations: 0 / 0.5658 GB, free: 14.85 MB / 414.1 MB Notification: Performance of Templates: time 0.003516/0.5577, allocations: 480.4 kB / 0.5663 GB, free: 14.39 MB / 414.1 MB " [Timeout remaining time 659] 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: 5.631641672924161]