Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.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.001756/0.001756, allocations: 77 kB / 19.93 MB, free: 1.781 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.002291/0.002291, allocations: 162.7 kB / 23.21 MB, free: 4.91 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.35/1.35, allocations: 158.6 MB / 185 MB, free: 6.395 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.2064/0.2064, allocations: 32.37 MB / 269.6 MB, free: 4.672 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.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator") translateModel(ModelicaTest.Blocks.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 407.3 MB, free: 3.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.806e-05, allocations: 2.281 kB / 407.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ResetHoldIntegrator): time 0.002864/0.002893, allocations: 1.603 MB / 408.9 MB, free: 1.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009842/0.003877, allocations: 0.4994 MB / 409.4 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.003982, allocations: 7.938 kB / 409.5 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.004103, allocations: 7.875 kB / 409.5 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.764e-05/0.004161, allocations: 15.86 kB / 409.5 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.004366, allocations: 43.77 kB / 409.5 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.004534, allocations: 83.77 kB / 409.6 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.004652, allocations: 20.2 kB / 409.6 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.445e-05/0.004736, allocations: 43.91 kB / 409.7 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.295e-05/0.004809, allocations: 27.89 kB / 409.7 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.004832, allocations: 4 kB / 409.7 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.621e-05/0.004848, allocations: 8 kB / 409.7 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.514e-05/0.004873, allocations: 7.938 kB / 409.7 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.1e-05/0.004924, allocations: 31.91 kB / 409.7 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.005074, allocations: 75.77 kB / 409.8 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.005077, allocations: 4 kB / 409.8 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.005078, allocations: 0 / 409.8 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.005082, allocations: 0 / 409.8 MB, free: 0.5469 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005706/0.005653, allocations: 326.8 kB / 410.1 MB, free: 200 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.005688, allocations: 8.031 kB / 410.1 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.00573, allocations: 8.891 kB / 410.2 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.005967, allocations: 141.6 kB / 410.3 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.005983, allocations: 12.3 kB / 410.3 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.006008, allocations: 20.3 kB / 410.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.006161, allocations: 74.23 kB / 410.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.006174, allocations: 4.125 kB / 410.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.006186, allocations: 384 / 410.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.006199, allocations: 7.938 kB / 410.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.221e-05/0.006281, allocations: 31.98 kB / 410.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005339/0.006815, allocations: 272.3 kB / 410.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.006937, allocations: 46.56 kB / 410.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.575e-05/0.006973, allocations: 16.89 kB / 410.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.006988, allocations: 4 kB / 410.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000143/0.007131, allocations: 75.34 kB / 410.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.007132, allocations: 0 / 410.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002245/0.007357, allocations: 81.64 kB / 410.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.007402, allocations: 51.41 kB / 411 MB, free: 15.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.007516, allocations: 129.7 kB / 411.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.007539, allocations: 29.7 kB / 411.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.927e-05/0.007608, allocations: 104.3 kB / 411.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.007631, allocations: 11.98 kB / 411.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.076e-05/0.007682, allocations: 25.72 kB / 411.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.00782, allocations: 330.8 kB / 411.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.134e-05/0.007862, allocations: 15.98 kB / 411.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.546e-05/0.007917, allocations: 42.5 kB / 411.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.889e-05/0.008006, allocations: 54.86 kB / 411.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.008008, allocations: 0 / 411.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001376/0.008145, allocations: 81.58 kB / 411.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.008161, allocations: 8 kB / 411.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.008168, allocations: 4 kB / 411.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.008182, allocations: 4.062 kB / 411.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.755e-05/0.008259, allocations: 15.94 kB / 411.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.008264, allocations: 0 / 411.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.412e-05/0.008328, allocations: 11.94 kB / 411.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.008339, allocations: 11.88 kB / 411.8 MB, free: 14.33 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,integrator.reset,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,fallingEdge.not_u,$PRE.fallingEdge.not_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.793e-05/0.008437, allocations: 113.8 kB / 411.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.008456, allocations: 7.953 kB / 412 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.557e-05/0.008491, allocations: 12.42 kB / 412 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.008493, allocations: 4.188 kB / 412 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.008497, allocations: 0 / 412 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.008501, allocations: 7.938 kB / 412 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003226/0.008824, allocations: 286.1 kB / 412.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.008825, allocations: 0 / 412.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.968e-05/0.008875, allocations: 4 kB / 412.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.008877, allocations: 0 / 412.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.00889, allocations: 4 kB / 412.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.008892, allocations: 4 kB / 412.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.008895, allocations: 3.938 kB / 412.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.009131, allocations: 183.4 kB / 412.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.607e-05/0.009147, allocations: 7.984 kB / 412.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.009168, allocations: 8.062 kB / 412.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.972e-05/0.009257, allocations: 11.97 kB / 412.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.009304, allocations: 11.92 kB / 412.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.009312, allocations: 4 kB / 412.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.619e-05/0.009378, allocations: 95.27 kB / 412.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.009378, allocations: 0 / 412.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.009612, allocations: 15.94 kB / 412.6 MB, free: 13.5 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: 5 (integrator.reset,$whenCondition2,$whenCondition1,fallingEdge.not_u,booleanPulse.pulseStart) * Number of discrete states: 1 (fallingEdge.not_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.856e-05/0.009711, allocations: 95.25 kB / 412.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001437/0.009854, allocations: 47.91 kB / 412.7 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.009856, allocations: 4.125 kB / 412.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.523e-05/0.009911, allocations: 23.92 kB / 412.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.01022, allocations: 15.98 kB / 412.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005455/0.01077, allocations: 201.2 kB / 413 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.669e-05/0.01085, allocations: 80.36 kB / 413.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.572e-05/0.01088, allocations: 11.92 kB / 413.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/0.01092, allocations: 20.5 kB / 413.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.01092, allocations: 0 / 413.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of Templates: time 0.003685/0.0146, allocations: 0.9319 MB / 414 MB, free: 12.04 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/ResetHoldIntegrator/ResetHoldIntegrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.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.587038930505514]