Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.00133/0.00133, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001501/0.001501, allocations: 205.1 kB / 24.47 MB, free: 3.699 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.477/1.477, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.2368/0.2368, 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.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator") translateModel(ModelicaTest.Blocks.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 59.89 kB / 0.4973 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2982, allocations: 66.04 MB / 0.5618 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ResetHoldIntegrator): time 0.003072/0.3012, allocations: 1.618 MB / 0.5634 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009275/0.3022, allocations: 491.8 kB / 0.5638 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.684e-05/0.3022, allocations: 0 / 0.5638 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.3023, allocations: 11.86 kB / 0.5639 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.457e-05/0.3024, allocations: 19.86 kB / 0.5639 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.3026, allocations: 31.91 kB / 0.5639 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.3027, allocations: 75.77 kB / 0.564 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.3029, allocations: 27.86 kB / 0.564 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.631e-05/0.3029, allocations: 35.8 kB / 0.564 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.062e-05/0.303, allocations: 39.84 kB / 0.5641 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.303, allocations: 4 kB / 0.5641 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.397e-05/0.303, allocations: 8 kB / 0.5641 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.896e-05/0.303, allocations: 19.92 kB / 0.5641 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.989e-05/0.3031, allocations: 19.88 kB / 0.5641 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.3032, allocations: 74.38 kB / 0.5642 GB, free: 1.695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3032, allocations: 0 / 0.5642 GB, free: 1.695 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3032, allocations: 0 / 0.5642 GB, free: 1.695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.3032, allocations: 4 kB / 0.5642 GB, free: 1.691 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005616/0.3038, allocations: 326.8 kB / 0.5645 GB, free: 1.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.3038, allocations: 12.03 kB / 0.5645 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.163e-05/0.3039, allocations: 16.81 kB / 0.5645 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.3041, allocations: 134.4 kB / 0.5647 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.3041, allocations: 8.375 kB / 0.5647 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.3042, allocations: 8.375 kB / 0.5647 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.3043, allocations: 77.92 kB / 0.5648 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.3043, allocations: 0 / 0.5648 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.3044, allocations: 7.984 kB / 0.5648 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3044, allocations: 4 kB / 0.5648 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.973e-05/0.3044, allocations: 35.92 kB / 0.5648 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005304/0.305, allocations: 280.3 kB / 0.5651 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.3051, allocations: 42.56 kB / 0.5651 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.371e-05/0.3051, allocations: 12.89 kB / 0.5651 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.3051, allocations: 7.938 kB / 0.5651 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001288/0.3053, allocations: 63.44 kB / 0.5652 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.3053, allocations: 0 / 0.5652 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000217/0.3055, allocations: 93.56 kB / 0.5653 GB, free: 472 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.3055, allocations: 59.34 kB / 0.5653 GB, free: 400 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.3056, allocations: 125.7 kB / 0.5655 GB, free: 264 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.3057, allocations: 29.7 kB / 0.5655 GB, free: 228 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.137e-05/0.3057, allocations: 104.3 kB / 0.5656 GB, free: 120 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.3058, allocations: 19.97 kB / 0.5656 GB, free: 100 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.058e-05/0.3058, allocations: 25.72 kB / 0.5656 GB, free: 68 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.306, allocations: 326.8 kB / 0.5659 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.914e-05/0.306, allocations: 12 kB / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.844e-05/0.3061, allocations: 46.48 kB / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.849e-05/0.3062, allocations: 50.58 kB / 0.566 GB, free: 15.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.3062, allocations: 4 kB / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001466/0.3063, allocations: 85.56 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.3063, allocations: 8 kB / 0.5661 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3063, allocations: 0 / 0.5661 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.3064, allocations: 0 / 0.5661 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.019e-05/0.3064, allocations: 11.94 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.3065, allocations: 4.328 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.969e-05/0.3065, allocations: 15.94 kB / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.3065, allocations: 4 kB / 0.5662 GB, free: 15.48 MB / 414.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 0.0001157/0.3067, allocations: 121.8 kB / 0.5663 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.3067, allocations: 7.953 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.022e-05/0.3067, allocations: 8.375 kB / 0.5663 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.3067, allocations: 4 kB / 0.5663 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3067, allocations: 3.938 kB / 0.5663 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.3067, allocations: 0 / 0.5663 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003498/0.3071, allocations: 286.2 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.3071, allocations: 0 / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.107e-05/0.3071, allocations: 7.984 kB / 0.5666 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3071, allocations: 0 / 0.5666 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.3071, allocations: 7.938 kB / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.3071, allocations: 4 kB / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3071, allocations: 0 / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.3074, allocations: 187.6 kB / 0.5668 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.848e-05/0.3074, allocations: 11.92 kB / 0.5668 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.3074, allocations: 11.88 kB / 0.5668 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.58e-05/0.3075, allocations: 7.984 kB / 0.5668 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.035e-05/0.3076, allocations: 11.97 kB / 0.5668 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.3076, allocations: 0 / 0.5668 GB, free: 14.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.397e-05/0.3077, allocations: 99.27 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3077, allocations: 64 / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002379/0.3079, allocations: 16 kB / 0.5669 GB, free: 14.62 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,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.167e-05/0.308, allocations: 95.25 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001552/0.3082, allocations: 47.92 kB / 0.5671 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3082, allocations: 0 / 0.5671 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.359e-05/0.3082, allocations: 19.98 kB / 0.5671 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.3085, allocations: 12 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005199/0.3091, allocations: 236.2 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.925e-05/0.3091, allocations: 87.3 kB / 0.5674 GB, free: 14.08 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.3092, allocations: 11.44 kB / 0.5674 GB, free: 14.07 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3092, allocations: 3.938 kB / 0.5674 GB, free: 14.07 MB / 414.1 MB Notification: Performance of Templates: time 0.002941/0.3121, allocations: 1.128 MB / 0.5685 GB, free: 12.94 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ResetHoldIntegrator/ResetHoldIntegrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 7.410233786999015]