Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator.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.00173/0.00173, 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.002041/0.002041, allocations: 213.3 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.502/1.502, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.2377/0.2377, allocations: 46.96 MB / 361.6 MB, free: 4.027 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.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator") translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 67.91 kB / 0.4973 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3145, allocations: 66.02 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.002106/0.3166, allocations: 0.8192 MB / 0.5626 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002072/0.3168, allocations: 47.77 kB / 0.5626 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.002e-05/0.3169, allocations: 7.938 kB / 0.5627 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.317, allocations: 7.922 kB / 0.5627 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.989e-05/0.317, allocations: 7.938 kB / 0.5627 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000115/0.3171, allocations: 19.98 kB / 0.5627 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.3172, allocations: 35.92 kB / 0.5627 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.3174, allocations: 19.64 kB / 0.5627 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.377e-05/0.3174, allocations: 11.92 kB / 0.5627 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.415e-05/0.3174, allocations: 15.92 kB / 0.5628 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.3175, allocations: 0 / 0.5628 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.186e-05/0.3175, allocations: 4 kB / 0.5628 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.09e-05/0.3175, allocations: 7.938 kB / 0.5628 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.749e-05/0.3175, allocations: 15.92 kB / 0.5628 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.3176, allocations: 39.83 kB / 0.5628 GB, free: 3.129 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3176, allocations: 4 kB / 0.5628 GB, free: 3.125 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3176, allocations: 0 / 0.5628 GB, free: 3.125 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.3176, allocations: 0 / 0.5628 GB, free: 3.125 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004412/0.3181, allocations: 281.8 kB / 0.5631 GB, free: 2.816 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.3181, allocations: 8.031 kB / 0.5631 GB, free: 2.809 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.252e-05/0.3181, allocations: 8.891 kB / 0.5631 GB, free: 2.801 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.3184, allocations: 122.5 kB / 0.5632 GB, free: 2.656 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.3184, allocations: 4.359 kB / 0.5632 GB, free: 2.652 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.3184, allocations: 8.375 kB / 0.5632 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.3185, allocations: 50.25 kB / 0.5633 GB, free: 2.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.3185, allocations: 192 / 0.5633 GB, free: 2.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.3185, allocations: 7.938 kB / 0.5633 GB, free: 2.582 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3185, allocations: 0 / 0.5633 GB, free: 2.582 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.131e-05/0.3186, allocations: 12 kB / 0.5633 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004562/0.319, allocations: 232.4 kB / 0.5635 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.071e-05/0.3191, allocations: 18.58 kB / 0.5636 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.313e-05/0.3191, allocations: 16.91 kB / 0.5636 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-06/0.3191, allocations: 0 / 0.5636 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.233e-05/0.3192, allocations: 55.34 kB / 0.5636 GB, free: 2.199 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.093e-06/0.3192, allocations: 4 kB / 0.5636 GB, free: 2.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001371/0.3194, allocations: 45.66 kB / 0.5637 GB, free: 2.145 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.3194, allocations: 55.39 kB / 0.5637 GB, free: 2.078 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.774e-05/0.3195, allocations: 109.8 kB / 0.5638 GB, free: 1.961 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.3195, allocations: 33.64 kB / 0.5639 GB, free: 1.922 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.711e-05/0.3196, allocations: 92.03 kB / 0.5639 GB, free: 1.828 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.317e-05/0.3196, allocations: 7.953 kB / 0.564 GB, free: 1.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.3196, allocations: 17.66 kB / 0.564 GB, free: 1.797 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3198, allocations: 322.8 kB / 0.5643 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.88e-05/0.3198, allocations: 4 kB / 0.5643 GB, free: 1.469 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.094e-05/0.3198, allocations: 21.72 kB / 0.5643 GB, free: 1.441 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.93e-05/0.3199, allocations: 37.91 kB / 0.5643 GB, free: 1.398 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3199, allocations: 0 / 0.5643 GB, free: 1.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.432e-05/0.32, allocations: 49.64 kB / 0.5644 GB, free: 1.344 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.32, allocations: 11.98 kB / 0.5644 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.32, allocations: 0 / 0.5644 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.32, allocations: 0 / 0.5644 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.235e-05/0.32, allocations: 4 kB / 0.5644 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.32, allocations: 0 / 0.5644 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.287e-05/0.3201, allocations: 8.031 kB / 0.5644 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-06/0.3201, allocations: 0 / 0.5644 GB, free: 1.32 MB / 398.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: 2 (greaterEqualThreshold.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 9.388e-05/0.3202, allocations: 117.8 kB / 0.5645 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.073e-05/0.3202, allocations: 3.953 kB / 0.5645 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.011e-05/0.3202, allocations: 11.98 kB / 0.5645 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.3202, allocations: 0 / 0.5645 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3202, allocations: 0 / 0.5645 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3202, allocations: 0 / 0.5645 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002829/0.3205, allocations: 242.2 kB / 0.5648 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3205, allocations: 0 / 0.5648 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.457e-05/0.3205, allocations: 11.98 kB / 0.5648 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3205, allocations: 4 kB / 0.5648 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.3205, allocations: 0 / 0.5648 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3205, allocations: 0 / 0.5648 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.3205, allocations: 4 kB / 0.5648 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.3207, allocations: 155.4 kB / 0.5649 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-06/0.3207, allocations: 0 / 0.5649 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.3207, allocations: 0 / 0.5649 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.043e-05/0.3208, allocations: 12.02 kB / 0.5649 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/0.3208, allocations: 0 / 0.5649 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.565e-06/0.3208, allocations: 3.938 kB / 0.565 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.92e-05/0.3209, allocations: 83.59 kB / 0.565 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3209, allocations: 4.062 kB / 0.565 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000227/0.3211, allocations: 15.92 kB / 0.565 GB, free: 0.5938 MB / 398.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: 2 (greaterEqualThreshold.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.89e-05/0.3212, allocations: 95.19 kB / 0.5651 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 8.558e-05/0.3213, allocations: 19.94 kB / 0.5652 GB, free: 484 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3213, allocations: 0 / 0.5652 GB, free: 484 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.162e-05/0.3213, allocations: 11.92 kB / 0.5652 GB, free: 472 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.3216, allocations: 11.94 kB / 0.5652 GB, free: 460 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003273/0.3219, allocations: 159.3 kB / 0.5653 GB, free: 268 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.303e-05/0.3219, allocations: 67.73 kB / 0.5654 GB, free: 180 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.269e-05/0.322, allocations: 11.44 kB / 0.5654 GB, free: 168 kB / 398.1 MB Notification: Performance of SimCode: time 4.1e-07/0.322, allocations: 0 / 0.5654 GB, free: 168 kB / 398.1 MB Notification: Performance of Templates: time 0.002165/0.3241, allocations: 0.7073 MB / 0.5661 GB, free: 15.46 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/SelfResettingIntegrator/SelfResettingIntegrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator.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.362334406003356]