Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001597/0.001597, allocations: 74.97 kB / 19.93 MB, free: 1.77 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.001782/0.001782, allocations: 172.5 kB / 23.22 MB, free: 4.887 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.359/1.359, allocations: 158.6 MB / 185 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.204/0.204, allocations: 32.37 MB / 269.6 MB, free: 4.75 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator") translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 0 / 407.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.158e-05/3.413e-05, allocations: 4.531 kB / 407.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.003119/0.003153, allocations: 0.8238 MB / 408.2 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002832/0.003437, allocations: 47.81 kB / 408.2 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.541e-05/0.003512, allocations: 0 / 408.2 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.003647, allocations: 7.938 kB / 408.2 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.915e-05/0.003686, allocations: 3.938 kB / 408.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001395/0.003825, allocations: 15.98 kB / 408.2 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.003979, allocations: 43.84 kB / 408.3 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.004104, allocations: 11.98 kB / 408.3 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.017e-05/0.004164, allocations: 15.98 kB / 408.3 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.615e-05/0.00422, allocations: 15.92 kB / 408.3 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.004245, allocations: 4 kB / 408.3 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.539e-05/0.004261, allocations: 4 kB / 408.3 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.612e-05/0.004287, allocations: 7.984 kB / 408.3 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.783e-05/0.004325, allocations: 15.92 kB / 408.4 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.004468, allocations: 39.77 kB / 408.4 MB, free: 1.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.004471, allocations: 3.938 kB / 408.4 MB, free: 1.977 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.004472, allocations: 4 kB / 408.4 MB, free: 1.973 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.004476, allocations: 0 / 408.4 MB, free: 1.973 MB / 334.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.0005679/0.005044, allocations: 279.1 kB / 408.7 MB, free: 1.664 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.005088, allocations: 12.03 kB / 408.7 MB, free: 1.652 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.194e-05/0.00514, allocations: 8.922 kB / 408.7 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.005442, allocations: 121.7 kB / 408.8 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.005455, allocations: 384 / 408.8 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.005478, allocations: 4.375 kB / 408.8 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.00564, allocations: 50.25 kB / 408.9 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.005651, allocations: 4.125 kB / 408.9 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.005664, allocations: 384 / 408.9 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.005669, allocations: 384 / 408.9 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.716e-05/0.005737, allocations: 15.94 kB / 408.9 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006376/0.006374, allocations: 232.4 kB / 409.1 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.59e-05/0.00646, allocations: 30.5 kB / 409.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.523e-05/0.006495, allocations: 12.86 kB / 409.2 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.855e-06/0.006503, allocations: 0 / 409.2 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001159/0.006619, allocations: 51.41 kB / 409.2 MB, free: 1.047 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.006621, allocations: 0 / 409.2 MB, free: 1.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002083/0.006829, allocations: 57.58 kB / 409.3 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.006886, allocations: 51.41 kB / 409.3 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.007022, allocations: 109.8 kB / 409.4 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/0.007059, allocations: 29.7 kB / 409.5 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.641e-05/0.007135, allocations: 84.14 kB / 409.5 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.007159, allocations: 11.91 kB / 409.5 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.985e-05/0.007219, allocations: 21.7 kB / 409.6 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.007413, allocations: 314.8 kB / 409.9 MB, free: 336 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.803e-05/0.007441, allocations: 4 kB / 409.9 MB, free: 332 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.457e-05/0.007496, allocations: 21.7 kB / 409.9 MB, free: 304 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.725e-05/0.007563, allocations: 29.88 kB / 409.9 MB, free: 268 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.007565, allocations: 4 kB / 409.9 MB, free: 264 kB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001491/0.007714, allocations: 57.61 kB / 410 MB, free: 200 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.007733, allocations: 8 kB / 410 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.007738, allocations: 0 / 410 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.007754, allocations: 0 / 410 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.307e-05/0.007807, allocations: 11.94 kB / 410 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.007814, allocations: 0 / 410 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.631e-05/0.00786, allocations: 4 kB / 410 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.007866, allocations: 4 kB / 410 MB, free: 172 kB / 334.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 0.0001246/0.00799, allocations: 109.8 kB / 410.1 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.008014, allocations: 11.88 kB / 410.1 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.042e-05/0.008045, allocations: 15.97 kB / 410.2 MB, free: 20 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.00805, allocations: 4 kB / 410.2 MB, free: 16 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.008055, allocations: 0 / 410.2 MB, free: 16 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.008058, allocations: 0 / 410.2 MB, free: 16 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004501/0.008508, allocations: 246.1 kB / 410.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.00851, allocations: 0 / 410.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.967e-05/0.00856, allocations: 4 kB / 410.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.008562, allocations: 0 / 410.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.008572, allocations: 0 / 410.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.008574, allocations: 0 / 410.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.008575, allocations: 320 / 410.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.008808, allocations: 159.4 kB / 410.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.53e-05/0.008823, allocations: 3.938 kB / 410.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.008843, allocations: 3.984 kB / 410.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.735e-05/0.00894, allocations: 4.031 kB / 410.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-05/0.008966, allocations: 0 / 410.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.008971, allocations: 0 / 410.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.195e-05/0.009053, allocations: 99.19 kB / 410.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.009053, allocations: 0 / 410.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004131/0.009466, allocations: 4 kB / 410.7 MB, free: 15.45 MB / 350.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 0.0001327/0.009599, allocations: 91.25 kB / 410.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001178/0.009717, allocations: 24.05 kB / 410.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.009719, allocations: 0 / 410.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.809e-05/0.009757, allocations: 11.94 kB / 410.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.01018, allocations: 11.88 kB / 410.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004118/0.01059, allocations: 132.9 kB / 410.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.752e-05/0.01069, allocations: 71.25 kB / 411 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.928e-05/0.01072, allocations: 7.984 kB / 411 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/0.01075, allocations: 8.5 kB / 411 MB, free: 15.04 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.01075, allocations: 4.062 kB / 411 MB, free: 15.04 MB / 350.1 MB Notification: Performance of Templates: time 0.00487/0.01562, allocations: 0.5227 MB / 411.5 MB, free: 14.53 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/SelfResettingIntegrator/SelfResettingIntegrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 4.586250312626362]