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.0009132/0.0009132, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001306/0.002219, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0008991/0.0008991, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00121/0.002109, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9935/0.9935, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09135/1.085, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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.2687/0.2687, allocations: 34.26 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02469/0.2934, allocations: 13.1 MB / 291.5 MB, free: 7.328 MB / 282.7 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 1.834e-06/1.834e-06, allocations: 0 / 292.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/2.078e-05, allocations: 3.844 kB / 292.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ResetHoldIntegrator): time 0.00286/0.002881, allocations: 1.723 MB / 294.5 MB, free: 4.492 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008646/0.003745, allocations: 0.5063 MB / 295 MB, free: 3.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.957e-05/0.003825, allocations: 4 kB / 295.1 MB, free: 3.977 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.948e-05/0.003905, allocations: 19.8 kB / 295.1 MB, free: 3.957 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.627e-05/0.003951, allocations: 11.86 kB / 295.1 MB, free: 3.945 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000126/0.004077, allocations: 31.91 kB / 295.1 MB, free: 3.914 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000133/0.00421, allocations: 79.77 kB / 295.2 MB, free: 3.836 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.902e-05/0.004309, allocations: 24.22 kB / 295.2 MB, free: 3.809 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.004412, allocations: 59.75 kB / 295.3 MB, free: 3.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.64e-05/0.004478, allocations: 19.92 kB / 295.3 MB, free: 3.73 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.004503, allocations: 8 kB / 295.3 MB, free: 3.723 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.267e-05/0.004516, allocations: 4 kB / 295.3 MB, free: 3.719 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.547e-05/0.004541, allocations: 15.94 kB / 295.3 MB, free: 3.703 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.276e-05/0.004574, allocations: 15.94 kB / 295.3 MB, free: 3.688 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.004695, allocations: 55.81 kB / 295.4 MB, free: 3.633 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.739e-06/0.004705, allocations: 0 / 295.4 MB, free: 3.633 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004705, allocations: 0 / 295.4 MB, free: 3.633 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.004714, allocations: 0 / 295.4 MB, free: 3.633 MB / 282.7 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.0004707/0.005185, allocations: 309.4 kB / 295.7 MB, free: 3.309 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.005218, allocations: 15.97 kB / 295.7 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.005257, allocations: 12.92 kB / 295.7 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.005405, allocations: 125.7 kB / 295.8 MB, free: 3.133 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.00542, allocations: 4.375 kB / 295.8 MB, free: 3.129 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.005445, allocations: 12.38 kB / 295.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.005563, allocations: 72.7 kB / 295.9 MB, free: 3.039 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.005571, allocations: 192 / 295.9 MB, free: 3.039 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.005583, allocations: 8.359 kB / 295.9 MB, free: 3.031 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.005592, allocations: 11.88 kB / 295.9 MB, free: 3.02 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.279e-05/0.005635, allocations: 16 kB / 296 MB, free: 3.004 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000383/0.006018, allocations: 219.9 kB / 296.2 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.894e-05/0.006097, allocations: 34.56 kB / 296.2 MB, free: 2.73 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.889e-05/0.006115, allocations: 12.86 kB / 296.2 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.265e-06/0.006124, allocations: 0 / 296.2 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001034/0.006227, allocations: 59.38 kB / 296.3 MB, free: 2.645 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.006229, allocations: 0 / 296.3 MB, free: 2.645 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001377/0.006366, allocations: 61.61 kB / 296.3 MB, free: 2.578 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.006407, allocations: 55.41 kB / 296.4 MB, free: 2.512 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.745e-05/0.006484, allocations: 129 kB / 296.5 MB, free: 2.375 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.006503, allocations: 25.7 kB / 296.5 MB, free: 2.344 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.831e-05/0.006551, allocations: 100.3 kB / 296.6 MB, free: 2.242 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.006579, allocations: 23.92 kB / 296.7 MB, free: 2.219 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.006619, allocations: 25.7 kB / 296.7 MB, free: 2.188 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.006724, allocations: 330.8 kB / 297 MB, free: 1.855 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.987e-05/0.006744, allocations: 4 kB / 297 MB, free: 1.852 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.334e-05/0.006777, allocations: 30.5 kB / 297.1 MB, free: 1.812 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.683e-05/0.006834, allocations: 46.84 kB / 297.1 MB, free: 1.758 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.006837, allocations: 7.938 kB / 297.1 MB, free: 1.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.356e-05/0.00693, allocations: 61.61 kB / 297.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.006947, allocations: 8 kB / 297.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.006951, allocations: 0 / 297.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.006962, allocations: 0 / 297.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-05/0.007029, allocations: 15.94 kB / 297.2 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.007032, allocations: 0 / 297.2 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.694e-05/0.007079, allocations: 8 kB / 297.2 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.007086, allocations: 3.984 kB / 297.2 MB, free: 1.648 MB / 282.7 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,fallingEdge.not_u,$PRE.fallingEdge.not_u,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,integrator.reset,$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 8.063e-05/0.007167, allocations: 121.8 kB / 297.3 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.493e-05/0.007182, allocations: 4 kB / 297.3 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/0.007213, allocations: 12.44 kB / 297.3 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.007216, allocations: 3.984 kB / 297.3 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.007219, allocations: 4 kB / 297.3 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.007223, allocations: 0 / 297.3 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.007476, allocations: 226.6 kB / 297.6 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.007478, allocations: 0 / 297.6 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.245e-05/0.007531, allocations: 7.984 kB / 297.6 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.355e-05/0.007544, allocations: 7.953 kB / 297.6 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.007547, allocations: 0 / 297.6 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.007556, allocations: 4 kB / 297.6 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.007558, allocations: 0 / 297.6 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.007559, allocations: 0 / 297.6 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.007745, allocations: 163.4 kB / 297.7 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.007767, allocations: 3.984 kB / 297.7 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.757e-05/0.007844, allocations: 4 kB / 297.8 MB, free: 1.043 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.007885, allocations: 7.984 kB / 297.8 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.007893, allocations: 4 kB / 297.8 MB, free: 1.031 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.947e-05/0.007922, allocations: 20.83 kB / 297.8 MB, free: 1.008 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007922, allocations: 0 / 297.8 MB, free: 1.008 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002045/0.008127, allocations: 23.91 kB / 297.8 MB, free: 0.9844 MB / 282.7 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,booleanPulse.pulseStart,fallingEdge.not_u) * 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 8.608e-05/0.008213, allocations: 80.36 kB / 297.9 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000101/0.008314, allocations: 36.78 kB / 297.9 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.008319, allocations: 0 / 297.9 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.159e-05/0.008371, allocations: 28.83 kB / 298 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.008593, allocations: 104.9 kB / 298.1 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00039/0.008983, allocations: 197.7 kB / 298.2 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.246e-05/0.009015, allocations: 63.53 kB / 298.3 MB, free: 420 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.57e-05/0.009041, allocations: 15.92 kB / 298.3 MB, free: 404 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.11e-05/0.009092, allocations: 59.38 kB / 298.4 MB, free: 344 kB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.009093, allocations: 0 / 298.4 MB, free: 344 kB / 282.7 MB Notification: Performance of Templates: time 0.002185/0.01128, allocations: 0.9665 MB / 299.3 MB, free: 15.4 MB / 298.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ResetHoldIntegrator/ResetHoldIntegrator.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.656452273018658]