Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001555/0.001555, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001493/0.001493, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.534/1.534, allocations: 230.2 MB / 257.8 MB, free: 8.52 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2564/0.2564, allocations: 46.88 MB / 361.1 MB, free: 4.652 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002299/0.002299, allocations: 79.88 kB / 0.4967 GB, free: 7.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3887, allocations: 65.99 MB / 0.5612 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002867/0.3916, allocations: 1.574 MB / 0.5627 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002419/0.3918, allocations: 79.7 kB / 0.5628 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.49e-05/0.3919, allocations: 7.875 kB / 0.5628 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.392, allocations: 3.938 kB / 0.5628 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.263e-05/0.392, allocations: 3.938 kB / 0.5628 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.3922, allocations: 23.91 kB / 0.5628 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.3923, allocations: 31.92 kB / 0.5629 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.432e-05/0.3924, allocations: 11.98 kB / 0.5629 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.679e-05/0.3924, allocations: 11.94 kB / 0.5629 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.687e-05/0.3924, allocations: 23.91 kB / 0.5629 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.3925, allocations: 4 kB / 0.5629 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.706e-06/0.3925, allocations: 0 / 0.5629 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.954e-05/0.3925, allocations: 11.94 kB / 0.5629 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.617e-05/0.3925, allocations: 11.94 kB / 0.5629 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.787e-05/0.3926, allocations: 38.48 kB / 0.563 GB, free: 3.191 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3926, allocations: 0 / 0.563 GB, free: 3.191 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3926, allocations: 0 / 0.563 GB, free: 3.191 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.3926, allocations: 0 / 0.563 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.0004683/0.3931, allocations: 359.3 kB / 0.5633 GB, free: 2.789 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.3931, allocations: 8.031 kB / 0.5633 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.797e-05/0.3931, allocations: 8.891 kB / 0.5633 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.3934, allocations: 180.3 kB / 0.5635 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.3934, allocations: 4.375 kB / 0.5635 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.3934, allocations: 4.375 kB / 0.5635 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.3936, allocations: 68.81 kB / 0.5636 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.3936, allocations: 4.188 kB / 0.5636 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.3936, allocations: 3.938 kB / 0.5636 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-06/0.3936, allocations: 4 kB / 0.5636 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.006e-05/0.3937, allocations: 23.92 kB / 0.5636 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005259/0.3942, allocations: 453.2 kB / 0.564 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.3944, allocations: 46.48 kB / 0.5641 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.028e-05/0.3944, allocations: 12.86 kB / 0.5641 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.3944, allocations: 4 kB / 0.5641 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.3944, allocations: 34.5 kB / 0.5641 GB, free: 1.816 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.3945, allocations: 0 / 0.5641 GB, free: 1.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004582/0.3949, allocations: 121.5 kB / 0.5643 GB, free: 1.691 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.395, allocations: 51.41 kB / 0.5643 GB, free: 1.629 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.504e-05/0.3951, allocations: 117.8 kB / 0.5644 GB, free: 1.504 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.3951, allocations: 25.7 kB / 0.5644 GB, free: 1.473 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.441e-05/0.3951, allocations: 96.08 kB / 0.5645 GB, free: 1.375 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.382e-05/0.3952, allocations: 11.84 kB / 0.5645 GB, free: 1.363 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-05/0.3952, allocations: 21.72 kB / 0.5646 GB, free: 1.336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.3953, allocations: 326.8 kB / 0.5649 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.276e-05/0.3954, allocations: 15.98 kB / 0.5649 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.538e-05/0.3955, allocations: 43.36 kB / 0.5649 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.3956, allocations: 59.42 kB / 0.565 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3956, allocations: 0 / 0.565 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001682/0.3958, allocations: 85.5 kB / 0.5651 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.3958, allocations: 4 kB / 0.5651 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3958, allocations: 4 kB / 0.5651 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.3958, allocations: 0 / 0.5651 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.049e-05/0.3959, allocations: 8 kB / 0.5651 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.128e-06/0.3959, allocations: 12.08 kB / 0.5651 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.903e-05/0.3959, allocations: 4 kB / 0.5651 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.3959, allocations: 4 kB / 0.5651 GB, free: 0.7422 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 9.779e-05/0.396, allocations: 121.7 kB / 0.5652 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.396, allocations: 3.953 kB / 0.5652 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.217e-05/0.3961, allocations: 7.906 kB / 0.5652 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3961, allocations: 0 / 0.5652 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3961, allocations: 0 / 0.5652 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.3961, allocations: 3.984 kB / 0.5652 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.3963, allocations: 173.6 kB / 0.5654 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.3963, allocations: 4 kB / 0.5654 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.407e-05/0.3963, allocations: 12 kB / 0.5654 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3963, allocations: 0 / 0.5654 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.3963, allocations: 0 / 0.5654 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3963, allocations: 0 / 0.5654 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3963, allocations: 0 / 0.5654 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.3966, allocations: 191.3 kB / 0.5656 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.677e-05/0.3966, allocations: 81.06 kB / 0.5657 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.3967, allocations: 4.031 kB / 0.5657 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.241e-05/0.3967, allocations: 3.984 kB / 0.5657 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.307e-05/0.3967, allocations: 4.375 kB / 0.5657 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.3967, allocations: 4.422 kB / 0.5657 GB, free: 48 kB / 398.1 MB Notification: Performance of sorting global known variables: time 7.902e-05/0.3968, allocations: 95.2 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3968, allocations: 0 / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002192/0.397, allocations: 4 kB / 0.5658 GB, free: 15.95 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.91e-05/0.3971, allocations: 99.25 kB / 0.5659 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001658/0.3973, allocations: 39.92 kB / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.3973, allocations: 0 / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.661e-05/0.3973, allocations: 16.08 kB / 0.5659 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.0002529/0.3976, allocations: 12.08 kB / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003616/0.398, allocations: 158 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.3983, allocations: 0.6869 MB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.784e-05/0.3983, allocations: 7.984 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.719e-05/0.3984, allocations: 11.38 kB / 0.5668 GB, free: 14.86 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3984, allocations: 0 / 0.5668 GB, free: 14.86 MB / 414.1 MB Notification: Performance of Templates: time 0.002625/0.401, allocations: 468.6 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.21861351467669]