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.001519/0.001519, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.00165/0.00165, allocations: 207.4 kB / 25.12 MB, free: 3.59 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.374/1.374, allocations: 230.4 MB / 258.7 MB, free: 8.07 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.2114/0.2114, allocations: 46.93 MB / 362 MB, free: 4.246 MB / 286.1 MB " [Timeout remaining time 180] 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.002473/0.002473, allocations: 75.88 kB / 0.4978 GB, free: 7.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2709, allocations: 66.08 MB / 0.5623 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.00267/0.2736, allocations: 1.583 MB / 0.5639 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002362/0.2738, allocations: 71.78 kB / 0.5639 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.367e-05/0.2739, allocations: 4 kB / 0.5639 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.731e-05/0.274, allocations: 11.88 kB / 0.5639 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.827e-05/0.274, allocations: 3.938 kB / 0.5639 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001361/0.2741, allocations: 19.97 kB / 0.564 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.2742, allocations: 35.86 kB / 0.564 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.156e-05/0.2743, allocations: 10.8 kB / 0.564 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.072e-05/0.2743, allocations: 15.94 kB / 0.564 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.432e-05/0.2744, allocations: 15.92 kB / 0.564 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.2744, allocations: 0 / 0.564 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.063e-05/0.2744, allocations: 4 kB / 0.564 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.569e-05/0.2744, allocations: 8 kB / 0.5641 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.336e-05/0.2745, allocations: 23.84 kB / 0.5641 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.877e-05/0.2746, allocations: 31.78 kB / 0.5641 GB, free: 2.434 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2746, allocations: 4 kB / 0.5641 GB, free: 2.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.031e-06/0.2746, allocations: 0 / 0.5641 GB, free: 2.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.2746, allocations: 0 / 0.5641 GB, free: 2.43 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.000391/0.275, allocations: 277.9 kB / 0.5644 GB, free: 2.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.275, allocations: 8.031 kB / 0.5644 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.146e-05/0.275, allocations: 8.891 kB / 0.5644 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.2752, allocations: 126.5 kB / 0.5645 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.2752, allocations: 384 / 0.5645 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.2752, allocations: 4.375 kB / 0.5645 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.2754, allocations: 72.75 kB / 0.5646 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.2754, allocations: 192 / 0.5646 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.2754, allocations: 3.938 kB / 0.5646 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2754, allocations: 4 kB / 0.5646 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.929e-05/0.2755, allocations: 23.98 kB / 0.5646 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004818/0.276, allocations: 424.2 kB / 0.565 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.2761, allocations: 42.56 kB / 0.5651 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.026e-05/0.2762, allocations: 16.94 kB / 0.5651 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.2762, allocations: 4 kB / 0.5651 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.2762, allocations: 34.5 kB / 0.5651 GB, free: 1.262 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.2762, allocations: 0 / 0.5651 GB, free: 1.262 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004277/0.2767, allocations: 109.8 kB / 0.5652 GB, free: 1.148 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.2767, allocations: 59.34 kB / 0.5653 GB, free: 1.078 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.221e-05/0.2768, allocations: 113.8 kB / 0.5654 GB, free: 0.957 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.2768, allocations: 25.7 kB / 0.5654 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.076e-05/0.2769, allocations: 92.09 kB / 0.5655 GB, free: 0.832 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.2769, allocations: 19.83 kB / 0.5655 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.2769, allocations: 17.72 kB / 0.5655 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.2771, allocations: 326.7 kB / 0.5658 GB, free: 472 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.915e-05/0.2771, allocations: 12 kB / 0.5659 GB, free: 460 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.495e-05/0.2772, allocations: 47.41 kB / 0.5659 GB, free: 400 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.2773, allocations: 63.39 kB / 0.566 GB, free: 324 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.2773, allocations: 0 / 0.566 GB, free: 324 kB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001661/0.2775, allocations: 89.56 kB / 0.566 GB, free: 228 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.2775, allocations: 7.984 kB / 0.5661 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.2775, allocations: 0 / 0.5661 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.2775, allocations: 4 kB / 0.5661 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.4e-05/0.2776, allocations: 11.94 kB / 0.5661 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.2776, allocations: 4 kB / 0.5661 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.682e-05/0.2776, allocations: 0 / 0.5661 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.2776, allocations: 11.98 kB / 0.5661 GB, free: 188 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 8.329e-05/0.2777, allocations: 121.9 kB / 0.5662 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.2777, allocations: 3.953 kB / 0.5662 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.57e-05/0.2777, allocations: 12 kB / 0.5662 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.2777, allocations: 0 / 0.5662 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.2778, allocations: 0 / 0.5662 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.2778, allocations: 0 / 0.5662 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.2779, allocations: 140.7 kB / 0.5663 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2779, allocations: 0 / 0.5663 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.693e-05/0.278, allocations: 15.98 kB / 0.5664 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.278, allocations: 4 kB / 0.5664 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.278, allocations: 0 / 0.5664 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.278, allocations: 3.938 kB / 0.5664 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.278, allocations: 384 / 0.5664 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.2783, allocations: 175.5 kB / 0.5665 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.466e-05/0.2783, allocations: 11.98 kB / 0.5666 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.2783, allocations: 0 / 0.5666 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.411e-05/0.2784, allocations: 8 kB / 0.5666 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.514e-05/0.2784, allocations: 3.984 kB / 0.5666 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.2784, allocations: 4 kB / 0.5666 GB, free: 15.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.001e-05/0.2784, allocations: 87.28 kB / 0.5666 GB, free: 15.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2784, allocations: 0 / 0.5666 GB, free: 15.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002188/0.2786, allocations: 4 kB / 0.5667 GB, free: 15.52 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 8.37e-05/0.2787, allocations: 107.1 kB / 0.5668 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001505/0.2789, allocations: 40.05 kB / 0.5668 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2789, allocations: 0 / 0.5668 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.718e-05/0.2789, allocations: 19.92 kB / 0.5668 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.2792, allocations: 8 kB / 0.5668 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/0.2795, allocations: 158 kB / 0.567 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.2798, allocations: 0.6807 MB / 0.5676 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.971e-05/0.2798, allocations: 12.05 kB / 0.5676 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.511e-05/0.2798, allocations: 11.44 kB / 0.5677 GB, free: 14.43 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2798, allocations: 0 / 0.5677 GB, free: 14.43 MB / 414.1 MB Notification: Performance of Templates: time 0.002599/0.2824, allocations: 488.8 kB / 0.5681 GB, free: 13.96 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 gbode -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 4.5073836809024215]