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.001867/0.001867, allocations: 107 kB / 19.8 MB, free: 2.5 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.002534/0.002534, allocations: 215.2 kB / 23 MB, free: 5.574 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.57/1.57, allocations: 230.2 MB / 256.2 MB, free: 8.547 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.2552/0.2552, allocations: 46.9 MB / 359.4 MB, free: 4.867 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.002234/0.002234, allocations: 75.88 kB / 0.4946 GB, free: 8.461 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3466, allocations: 65.98 MB / 0.5591 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002781/0.3493, allocations: 1.579 MB / 0.5606 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002525/0.3496, allocations: 71.78 kB / 0.5607 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.124e-05/0.3497, allocations: 3.938 kB / 0.5607 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.3498, allocations: 7.922 kB / 0.5607 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.025e-05/0.3498, allocations: 7.938 kB / 0.5607 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.3499, allocations: 15.98 kB / 0.5607 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.35, allocations: 43.84 kB / 0.5608 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.301e-05/0.3501, allocations: 7.984 kB / 0.5608 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.784e-05/0.3502, allocations: 11.94 kB / 0.5608 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.603e-05/0.3502, allocations: 15.92 kB / 0.5608 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.3502, allocations: 4 kB / 0.5608 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-06/0.3503, allocations: 0 / 0.5608 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.715e-05/0.3503, allocations: 8 kB / 0.5608 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.845e-05/0.3503, allocations: 15.86 kB / 0.5608 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.3504, allocations: 43.42 kB / 0.5609 GB, free: 3.199 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3504, allocations: 8 kB / 0.5609 GB, free: 3.191 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3504, allocations: 0 / 0.5609 GB, free: 3.191 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.3504, allocations: 0 / 0.5609 GB, free: 3.191 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.0004996/0.3509, allocations: 352.8 kB / 0.5612 GB, free: 2.801 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.3509, allocations: 8.031 kB / 0.5612 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/0.351, allocations: 8.891 kB / 0.5612 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.3512, allocations: 176.4 kB / 0.5614 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.3512, allocations: 8.359 kB / 0.5614 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.792e-05/0.3512, allocations: 8.312 kB / 0.5614 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.3514, allocations: 76.73 kB / 0.5615 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.3514, allocations: 192 / 0.5615 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.3514, allocations: 3.938 kB / 0.5615 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3514, allocations: 4 kB / 0.5615 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.371e-05/0.3515, allocations: 23.92 kB / 0.5615 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00054/0.3521, allocations: 457.1 kB / 0.5619 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.3522, allocations: 38.56 kB / 0.562 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.714e-05/0.3523, allocations: 12.86 kB / 0.562 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.3523, allocations: 11.94 kB / 0.562 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.3523, allocations: 34.64 kB / 0.562 GB, free: 1.816 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3523, allocations: 0 / 0.562 GB, free: 1.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.000475/0.3528, allocations: 105.5 kB / 0.5621 GB, free: 1.707 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.3528, allocations: 51.41 kB / 0.5622 GB, free: 1.645 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.636e-05/0.3529, allocations: 117.8 kB / 0.5623 GB, free: 1.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.3529, allocations: 29.7 kB / 0.5623 GB, free: 1.484 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.195e-05/0.353, allocations: 92.09 kB / 0.5624 GB, free: 1.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.353, allocations: 15.84 kB / 0.5624 GB, free: 1.375 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/0.3531, allocations: 21.7 kB / 0.5624 GB, free: 1.348 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3532, allocations: 318.8 kB / 0.5627 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.117e-05/0.3533, allocations: 15.98 kB / 0.5628 GB, free: 1.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.694e-05/0.3533, allocations: 43.42 kB / 0.5628 GB, free: 0.957 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.3534, allocations: 63.3 kB / 0.5629 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3534, allocations: 0 / 0.5629 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001665/0.3536, allocations: 85.62 kB / 0.5629 GB, free: 0.793 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.3536, allocations: 4 kB / 0.563 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.3536, allocations: 0 / 0.563 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3536, allocations: 4 kB / 0.563 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.443e-05/0.3537, allocations: 19.92 kB / 0.563 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.3537, allocations: 4 kB / 0.563 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.908e-05/0.3537, allocations: 4 kB / 0.563 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.3538, allocations: 4 kB / 0.563 GB, free: 0.7539 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.3538, allocations: 118.2 kB / 0.5631 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.3539, allocations: 7.984 kB / 0.5631 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.235e-05/0.3539, allocations: 15.89 kB / 0.5631 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3539, allocations: 384 / 0.5631 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3539, allocations: 3.938 kB / 0.5631 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.3539, allocations: 0 / 0.5631 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/0.3541, allocations: 173.6 kB / 0.5633 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3541, allocations: 3.984 kB / 0.5633 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.601e-05/0.3542, allocations: 12 kB / 0.5633 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3542, allocations: 3.938 kB / 0.5633 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.3542, allocations: 3.984 kB / 0.5633 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3542, allocations: 4 kB / 0.5633 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3542, allocations: 0 / 0.5633 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.3545, allocations: 171.5 kB / 0.5635 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.331e-05/0.3545, allocations: 81.06 kB / 0.5636 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.3545, allocations: 8.016 kB / 0.5636 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.117e-05/0.3546, allocations: 4 kB / 0.5636 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.906e-05/0.3546, allocations: 0 / 0.5636 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.3546, allocations: 8.062 kB / 0.5636 GB, free: 52 kB / 398.1 MB Notification: Performance of sorting global known variables: time 7.166e-05/0.3547, allocations: 91.27 kB / 0.5637 GB, free: 15.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3547, allocations: 0 / 0.5637 GB, free: 15.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002304/0.3549, allocations: 4 kB / 0.5637 GB, free: 15.96 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.0001188/0.355, allocations: 99.12 kB / 0.5638 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001679/0.3552, allocations: 39.97 kB / 0.5638 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3552, allocations: 192 / 0.5638 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.206e-05/0.3553, allocations: 19.94 kB / 0.5638 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.3555, allocations: 11.92 kB / 0.5638 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003811/0.3559, allocations: 153.8 kB / 0.564 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.3562, allocations: 0.6885 MB / 0.5647 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.145e-05/0.3563, allocations: 0 / 0.5647 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.3563, allocations: 11.44 kB / 0.5647 GB, free: 14.88 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3563, allocations: 4 kB / 0.5647 GB, free: 14.88 MB / 414.1 MB Notification: Performance of Templates: time 0.002926/0.3592, allocations: 469 kB / 0.5651 GB, free: 14.42 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.23172124568373]