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.001547/0.001547, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001741/0.001741, allocations: 213.5 kB / 24.5 MB, free: 4.148 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.408/1.408, allocations: 230.5 MB / 258.1 MB, free: 7.992 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.225/0.225, allocations: 46.93 MB / 361.5 MB, free: 4.172 MB / 286.1 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 0.002277/0.002277, allocations: 83.86 kB / 0.4974 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3457, allocations: 66.08 MB / 0.5619 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003035/0.3488, allocations: 1.579 MB / 0.5635 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002759/0.349, allocations: 79.72 kB / 0.5636 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.116e-05/0.3491, allocations: 0 / 0.5636 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.3492, allocations: 7.922 kB / 0.5636 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.534e-05/0.3493, allocations: 7.938 kB / 0.5636 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.3494, allocations: 23.92 kB / 0.5636 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.3495, allocations: 35.84 kB / 0.5636 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.3496, allocations: 15.92 kB / 0.5636 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.3e-05/0.3497, allocations: 11.94 kB / 0.5637 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.168e-05/0.3497, allocations: 15.92 kB / 0.5637 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.3498, allocations: 4 kB / 0.5637 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.163e-05/0.3498, allocations: 4 kB / 0.5637 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.3498, allocations: 4 kB / 0.5637 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.211e-05/0.3498, allocations: 15.88 kB / 0.5637 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.3499, allocations: 39.47 kB / 0.5637 GB, free: 2.395 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.3499, allocations: 4 kB / 0.5637 GB, free: 2.391 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3499, allocations: 0 / 0.5637 GB, free: 2.391 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.3499, allocations: 0 / 0.5637 GB, free: 2.391 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.0004684/0.3504, allocations: 280.9 kB / 0.564 GB, free: 2.086 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.3505, allocations: 8.031 kB / 0.564 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4e-05/0.3505, allocations: 8.891 kB / 0.564 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.3507, allocations: 122.5 kB / 0.5641 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.3507, allocations: 8.375 kB / 0.5641 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.3507, allocations: 384 / 0.5641 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.3509, allocations: 72.81 kB / 0.5642 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3509, allocations: 192 / 0.5642 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.3509, allocations: 3.938 kB / 0.5642 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.3509, allocations: 0 / 0.5642 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.375e-05/0.351, allocations: 27.92 kB / 0.5642 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005346/0.3516, allocations: 424.2 kB / 0.5647 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.3517, allocations: 42.5 kB / 0.5647 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.114e-05/0.3518, allocations: 16.94 kB / 0.5647 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.3518, allocations: 4 kB / 0.5647 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.3518, allocations: 34.56 kB / 0.5647 GB, free: 1.219 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.3518, allocations: 0 / 0.5647 GB, free: 1.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004639/0.3523, allocations: 105.5 kB / 0.5648 GB, free: 1.109 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.3523, allocations: 55.39 kB / 0.5649 GB, free: 1.043 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.641e-05/0.3524, allocations: 117.8 kB / 0.565 GB, free: 0.918 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.3525, allocations: 29.7 kB / 0.565 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.764e-05/0.3525, allocations: 88.47 kB / 0.5651 GB, free: 0.793 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.3525, allocations: 23.83 kB / 0.5651 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.3526, allocations: 17.72 kB / 0.5652 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3527, allocations: 318.8 kB / 0.5655 GB, free: 436 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.771e-05/0.3528, allocations: 19.92 kB / 0.5655 GB, free: 416 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.259e-05/0.3528, allocations: 47.3 kB / 0.5655 GB, free: 356 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.3529, allocations: 55.42 kB / 0.5656 GB, free: 288 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.3529, allocations: 7.938 kB / 0.5656 GB, free: 280 kB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001571/0.3531, allocations: 85.62 kB / 0.5657 GB, free: 188 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.3531, allocations: 8 kB / 0.5657 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3531, allocations: 0 / 0.5657 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3531, allocations: 0 / 0.5657 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.114e-05/0.3532, allocations: 15.98 kB / 0.5657 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.3532, allocations: 0 / 0.5657 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.985e-05/0.3532, allocations: 4 kB / 0.5657 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.3533, allocations: 4 kB / 0.5657 GB, free: 156 kB / 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 9.157e-05/0.3533, allocations: 121.7 kB / 0.5658 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.3534, allocations: 11.98 kB / 0.5658 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.621e-05/0.3534, allocations: 8.078 kB / 0.5658 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.3534, allocations: 0 / 0.5658 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3534, allocations: 4 kB / 0.5658 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3534, allocations: 0 / 0.5658 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.3536, allocations: 144.6 kB / 0.566 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.3536, allocations: 4 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.174e-05/0.3537, allocations: 11.98 kB / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.3537, allocations: 4 kB / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.3537, allocations: 0 / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.3537, allocations: 0 / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3537, allocations: 4 kB / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.3539, allocations: 179.4 kB / 0.5662 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.122e-05/0.354, allocations: 7.953 kB / 0.5662 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.354, allocations: 0 / 0.5662 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.06e-05/0.354, allocations: 4.031 kB / 0.5662 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.354, allocations: 0 / 0.5662 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.354, allocations: 496 / 0.5662 GB, free: 15.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.46e-05/0.3541, allocations: 95.27 kB / 0.5663 GB, free: 15.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3541, allocations: 0 / 0.5663 GB, free: 15.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002189/0.3543, allocations: 8.281 kB / 0.5663 GB, free: 15.48 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 9.059e-05/0.3544, allocations: 95.19 kB / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001559/0.3546, allocations: 43.84 kB / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3546, allocations: 0 / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.62e-05/0.3546, allocations: 28.2 kB / 0.5664 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.3549, allocations: 8.094 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003948/0.3553, allocations: 187.7 kB / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.3556, allocations: 0.6845 MB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.075e-05/0.3556, allocations: 11.44 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3556, allocations: 0 / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of Templates: time 0.002315/0.3579, allocations: 0.7627 MB / 0.5681 GB, free: 13.6 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.1.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 [Calling sys.exit(0), Time elapsed: 7.3885907649528235]