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.0019/0.0019, allocations: 107.6 kB / 21.19 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.002376/0.002376, allocations: 215.5 kB / 24.48 MB, free: 3.961 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.488/1.488, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.2333/0.2333, allocations: 46.96 MB / 361.6 MB, free: 4.031 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+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.003285/0.003285, allocations: 72.11 kB / 0.4973 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3318, allocations: 66.04 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.002871/0.3347, allocations: 1.624 MB / 0.5634 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.3358, allocations: 0.5582 MB / 0.5639 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.66e-05/0.3358, allocations: 3.938 kB / 0.5639 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.3359, allocations: 7.875 kB / 0.5639 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.861e-05/0.336, allocations: 23.84 kB / 0.564 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000331/0.3363, allocations: 83.28 kB / 0.564 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.3365, allocations: 115.7 kB / 0.5642 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.3366, allocations: 30.64 kB / 0.5642 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.529e-05/0.3367, allocations: 43.84 kB / 0.5642 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.365e-05/0.3368, allocations: 47.77 kB / 0.5643 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.3368, allocations: 8 kB / 0.5643 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.563e-05/0.3368, allocations: 8 kB / 0.5643 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.206e-05/0.3369, allocations: 23.92 kB / 0.5643 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.096e-05/0.3369, allocations: 31.8 kB / 0.5643 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.3371, allocations: 87.34 kB / 0.5644 GB, free: 1.484 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3371, allocations: 0 / 0.5644 GB, free: 1.484 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3371, allocations: 4 kB / 0.5644 GB, free: 1.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3371, allocations: 0 / 0.5644 GB, free: 1.48 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.0006577/0.3377, allocations: 354.7 kB / 0.5648 GB, free: 1.102 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.3378, allocations: 8.031 kB / 0.5648 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.53e-05/0.3378, allocations: 8.891 kB / 0.5648 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.3381, allocations: 150.3 kB / 0.5649 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.3381, allocations: 4.375 kB / 0.5649 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.3381, allocations: 8.375 kB / 0.5649 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/0.3384, allocations: 113.9 kB / 0.565 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.3384, allocations: 3.938 kB / 0.5651 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.3385, allocations: 3.984 kB / 0.5651 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.3385, allocations: 4 kB / 0.5651 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.3386, allocations: 51.91 kB / 0.5651 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006402/0.3393, allocations: 316.2 kB / 0.5654 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003467/0.3396, allocations: 98.55 kB / 0.5655 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.3397, allocations: 32.88 kB / 0.5655 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.3398, allocations: 0 / 0.5655 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002529/0.34, allocations: 103.3 kB / 0.5656 GB, free: 132 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.34, allocations: 0 / 0.5656 GB, free: 132 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004789/0.3405, allocations: 145.5 kB / 0.5658 GB, free: 15.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.3405, allocations: 51.41 kB / 0.5658 GB, free: 15.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.3407, allocations: 141 kB / 0.566 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.3407, allocations: 25.7 kB / 0.566 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.427e-05/0.3408, allocations: 108.2 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.3408, allocations: 23.92 kB / 0.5661 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.108e-05/0.3409, allocations: 29.7 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.341, allocations: 326.8 kB / 0.5664 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.3411, allocations: 31.98 kB / 0.5665 GB, free: 15.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.3413, allocations: 53.62 kB / 0.5665 GB, free: 15.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.3415, allocations: 77.67 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3415, allocations: 0 / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003004/0.3418, allocations: 113.5 kB / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.3418, allocations: 4.281 kB / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.3418, allocations: 0 / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.3418, allocations: 4.031 kB / 0.5667 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.3419, allocations: 27.86 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.342, allocations: 7.938 kB / 0.5668 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.109e-05/0.342, allocations: 11.98 kB / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.158e-06/0.3421, allocations: 4 kB / 0.5668 GB, free: 14.89 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 9.381e-05/0.3422, allocations: 113.8 kB / 0.5669 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.3422, allocations: 11.94 kB / 0.5669 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.22e-05/0.3422, allocations: 16.72 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.3422, allocations: 4 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3422, allocations: 3.938 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3422, allocations: 0 / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005089/0.3427, allocations: 330.1 kB / 0.5672 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3427, allocations: 0 / 0.5672 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.358e-05/0.3428, allocations: 19.98 kB / 0.5672 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3428, allocations: 0 / 0.5672 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.3428, allocations: 3.938 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3428, allocations: 0 / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3428, allocations: 0 / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004768/0.3433, allocations: 247.4 kB / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.661e-05/0.3433, allocations: 7.984 kB / 0.5675 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.3434, allocations: 7.938 kB / 0.5675 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.3435, allocations: 23.91 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.3436, allocations: 11.97 kB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.3436, allocations: 8 kB / 0.5675 GB, free: 14.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.581e-05/0.3436, allocations: 95.27 kB / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3436, allocations: 0 / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002411/0.3439, allocations: 19.94 kB / 0.5677 GB, free: 13.91 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.114e-05/0.344, allocations: 99.25 kB / 0.5677 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003001/0.3443, allocations: 87.88 kB / 0.5678 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3443, allocations: 0 / 0.5678 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.3444, allocations: 40.05 kB / 0.5679 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.3447, allocations: 15.98 kB / 0.5679 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000996/0.3457, allocations: 304.1 kB / 0.5682 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.847e-05/0.3458, allocations: 81.31 kB / 0.5683 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.695e-05/0.3459, allocations: 15.44 kB / 0.5683 GB, free: 13.22 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3459, allocations: 192 / 0.5683 GB, free: 13.22 MB / 414.1 MB Notification: Performance of Templates: time 0.003005/0.3489, allocations: 1.329 MB / 0.5696 GB, free: 11.9 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 -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: 7.63101283001015]