Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2243/0.2243, allocations: 46.96 MB / 361.6 MB, free: 4.125 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 68.12 kB / 0.4973 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2887, allocations: 66.04 MB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.002951/0.2916, allocations: 1.617 MB / 0.5634 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.2927, allocations: 0.5619 MB / 0.5639 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.695e-05/0.2928, allocations: 4 kB / 0.5639 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.2929, allocations: 7.875 kB / 0.5639 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.562e-05/0.2929, allocations: 19.84 kB / 0.564 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.2933, allocations: 91.53 kB / 0.564 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.2935, allocations: 111.7 kB / 0.5642 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.2936, allocations: 30.78 kB / 0.5642 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.354e-05/0.2937, allocations: 47.84 kB / 0.5642 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.604e-05/0.2937, allocations: 43.77 kB / 0.5643 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/0.2938, allocations: 8 kB / 0.5643 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.796e-05/0.2938, allocations: 8 kB / 0.5643 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.184e-05/0.2938, allocations: 23.91 kB / 0.5643 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.08e-05/0.2939, allocations: 35.81 kB / 0.5643 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.294, allocations: 87.34 kB / 0.5644 GB, free: 1.461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.294, allocations: 3.938 kB / 0.5644 GB, free: 1.457 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.294, allocations: 0 / 0.5644 GB, free: 1.457 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.294, allocations: 0 / 0.5644 GB, free: 1.457 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007039/0.2947, allocations: 346.8 kB / 0.5648 GB, free: 1.086 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2948, allocations: 12.03 kB / 0.5648 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.2948, allocations: 8.891 kB / 0.5648 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002931/0.2951, allocations: 153.2 kB / 0.5649 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.2951, allocations: 4.375 kB / 0.5649 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.298e-05/0.2952, allocations: 12.38 kB / 0.5649 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/0.2955, allocations: 109.8 kB / 0.565 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.2955, allocations: 4 kB / 0.5651 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.2955, allocations: 0 / 0.5651 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2955, allocations: 4 kB / 0.5651 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.2957, allocations: 55.95 kB / 0.5651 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007645/0.2964, allocations: 308.2 kB / 0.5654 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000388/0.2968, allocations: 102.5 kB / 0.5655 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.2969, allocations: 32.92 kB / 0.5655 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.297, allocations: 0 / 0.5655 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002729/0.2972, allocations: 111.2 kB / 0.5656 GB, free: 108 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.2972, allocations: 0 / 0.5656 GB, free: 108 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000559/0.2978, allocations: 141.6 kB / 0.5658 GB, free: 15.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.2978, allocations: 51.41 kB / 0.5658 GB, free: 15.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.298, allocations: 138 kB / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.298, allocations: 33.64 kB / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.186e-05/0.2981, allocations: 100.3 kB / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.2981, allocations: 31.91 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.206e-05/0.2982, allocations: 25.72 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.2983, allocations: 318.8 kB / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.2984, allocations: 27.98 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.2986, allocations: 61.62 kB / 0.5665 GB, free: 15.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.2988, allocations: 69.67 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2988, allocations: 0 / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003037/0.2991, allocations: 121.5 kB / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.2991, allocations: 8 kB / 0.5667 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.2991, allocations: 0 / 0.5667 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.2991, allocations: 3.938 kB / 0.5667 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.2992, allocations: 19.98 kB / 0.5667 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.2992, allocations: 3.938 kB / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.707e-05/0.2993, allocations: 24.02 kB / 0.5668 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.2993, allocations: 0 / 0.5668 GB, free: 14.87 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,integrator.reset,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,change.u,$PRE.change.u,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001005/0.2994, allocations: 124.6 kB / 0.5669 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.2995, allocations: 3.953 kB / 0.5669 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.886e-05/0.2995, allocations: 17 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2995, allocations: 0 / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.2995, allocations: 3.938 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2995, allocations: 3.938 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005169/0.3, allocations: 330.1 kB / 0.5672 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3, allocations: 0 / 0.5672 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.255e-05/0.3001, allocations: 11.98 kB / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3001, allocations: 0 / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.3001, allocations: 7.938 kB / 0.5672 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3001, allocations: 0 / 0.5672 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3001, allocations: 4 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004837/0.3006, allocations: 247.4 kB / 0.5675 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.52e-05/0.3006, allocations: 3.953 kB / 0.5675 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.3007, allocations: 15.89 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.3008, allocations: 20.05 kB / 0.5675 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.723e-05/0.3009, allocations: 15.97 kB / 0.5675 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/0.3009, allocations: 0 / 0.5675 GB, free: 14.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.386e-05/0.301, allocations: 103.3 kB / 0.5676 GB, free: 13.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.301, allocations: 0 / 0.5676 GB, free: 13.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002463/0.3012, allocations: 19.94 kB / 0.5677 GB, free: 13.89 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.y) * Number of discrete variables: 5 (integrator.reset,$whenCondition2,$whenCondition1,change.u,booleanPulse.pulseStart) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.243e-05/0.3013, allocations: 91.25 kB / 0.5677 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003204/0.3016, allocations: 87.88 kB / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3016, allocations: 0 / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.3018, allocations: 39.92 kB / 0.5679 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.3021, allocations: 15.98 kB / 0.5679 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000949/0.303, allocations: 274.5 kB / 0.5681 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.411e-05/0.3031, allocations: 85.33 kB / 0.5682 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.583e-05/0.3032, allocations: 12.64 kB / 0.5682 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.977e-05/0.3032, allocations: 11.44 kB / 0.5682 GB, free: 13.23 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3032, allocations: 0 / 0.5682 GB, free: 13.23 MB / 414.1 MB Notification: Performance of Templates: time 0.004189/0.3074, allocations: 1.301 MB / 0.5695 GB, free: 11.95 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.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.916440562999924]