Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008162/0.0008162, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003937/0.003937, allocations: 153.4 kB / 24.7 MB, free: 8.898 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8272/0.8272, allocations: 177 MB / 204.9 MB, free: 5.781 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2284/0.2284, allocations: 34.24 MB / 295.6 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator") translateModel(ModelicaTest.Blocks.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 443.4 MB, free: 1.074 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.645e-05, allocations: 5.094 kB / 443.4 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ResetHoldIntegrator): time 0.158/0.158, allocations: 1.614 MB / 445 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005868/0.1586, allocations: 496.5 kB / 445.5 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.086e-05/0.1587, allocations: 2.844 kB / 445.5 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.1588, allocations: 11.02 kB / 445.5 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.696e-05/0.1588, allocations: 14.5 kB / 445.5 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001439/0.159, allocations: 41.14 kB / 445.6 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.1591, allocations: 80.27 kB / 445.7 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1592, allocations: 17.22 kB / 445.7 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.353e-05/0.1592, allocations: 46.86 kB / 445.7 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.65e-05/0.1593, allocations: 25.28 kB / 445.7 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.1593, allocations: 5.812 kB / 445.7 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.456e-06/0.1593, allocations: 6.031 kB / 445.8 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.1593, allocations: 23.22 kB / 445.8 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/0.1593, allocations: 19.34 kB / 445.8 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.972e-05/0.1594, allocations: 73.88 kB / 445.9 MB, free: 43.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.1594, allocations: 0 / 445.9 MB, free: 43.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1594, allocations: 0 / 445.9 MB, free: 43.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1594, allocations: 8.266 kB / 445.9 MB, free: 43.45 MB / 410.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.000372/0.1598, allocations: 323.4 kB / 446.2 MB, free: 43.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.1598, allocations: 8.625 kB / 446.2 MB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.1599, allocations: 13.92 kB / 446.2 MB, free: 43.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.16, allocations: 139.4 kB / 446.3 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.1601, allocations: 7.812 kB / 446.4 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.1601, allocations: 7.219 kB / 446.4 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.785e-05/0.1602, allocations: 75.61 kB / 446.4 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1602, allocations: 192 / 446.4 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.1602, allocations: 3.656 kB / 446.4 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1602, allocations: 10.31 kB / 446.4 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.549e-05/0.1602, allocations: 33.89 kB / 446.5 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002994/0.1605, allocations: 279.2 kB / 446.8 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.563e-05/0.1606, allocations: 49.5 kB / 446.8 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.1606, allocations: 14.23 kB / 446.8 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.1607, allocations: 3 kB / 446.8 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.643e-05/0.1607, allocations: 69.61 kB / 446.9 MB, free: 42.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.1607, allocations: 2.688 kB / 446.9 MB, free: 42.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001502/0.1609, allocations: 88.77 kB / 447 MB, free: 42.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.1609, allocations: 54.64 kB / 447 MB, free: 42.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.312e-05/0.1609, allocations: 123.2 kB / 447.2 MB, free: 42.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.312e-06/0.161, allocations: 28.94 kB / 447.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.571e-05/0.161, allocations: 110.5 kB / 447.3 MB, free: 42.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.376e-05/0.161, allocations: 11.91 kB / 447.3 MB, free: 42.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.161, allocations: 25.98 kB / 447.3 MB, free: 42.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.539e-05/0.161, allocations: 323 kB / 447.6 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.298e-05/0.1611, allocations: 16.55 kB / 447.7 MB, free: 41.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.714e-05/0.1611, allocations: 39.89 kB / 447.7 MB, free: 41.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.281e-05/0.1611, allocations: 54.8 kB / 447.7 MB, free: 41.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1611, allocations: 0 / 447.7 MB, free: 41.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.853e-05/0.1612, allocations: 91.86 kB / 447.8 MB, free: 41.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.1612, allocations: 5.969 kB / 447.8 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1612, allocations: 0 / 447.8 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1612, allocations: 2.938 kB / 447.8 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.401e-05/0.1613, allocations: 5.969 kB / 447.9 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.1613, allocations: 7.875 kB / 447.9 MB, free: 41.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.041e-05/0.1613, allocations: 21.28 kB / 447.9 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-06/0.1613, allocations: 7 kB / 447.9 MB, free: 41.73 MB / 410.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,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 3.873e-05/0.1614, allocations: 119.7 kB / 448 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-06/0.1614, allocations: 6.234 kB / 448 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.173e-05/0.1614, allocations: 8.438 kB / 448 MB, free: 41.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1614, allocations: 2.844 kB / 448 MB, free: 41.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1614, allocations: 0 / 448 MB, free: 41.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1614, allocations: 0 / 448 MB, free: 41.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.1615, allocations: 287.8 kB / 448.3 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1615, allocations: 2.875 kB / 448.3 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.067e-05/0.1616, allocations: 6.812 kB / 448.3 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.1616, allocations: 2.75 kB / 448.3 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.1616, allocations: 3.188 kB / 448.3 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1616, allocations: 0 / 448.3 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1616, allocations: 3.938 kB / 448.3 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.1617, allocations: 194.3 kB / 448.5 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.264e-06/0.1617, allocations: 6.984 kB / 448.5 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.1617, allocations: 0 / 448.5 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.136e-05/0.1617, allocations: 6.438 kB / 448.5 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.1618, allocations: 14.06 kB / 448.5 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.1618, allocations: 7.031 kB / 448.5 MB, free: 41.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.153e-05/0.1618, allocations: 99.7 kB / 448.6 MB, free: 41.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1618, allocations: 0 / 448.6 MB, free: 41.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001397/0.1619, allocations: 15.41 kB / 448.7 MB, free: 41.07 MB / 410.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,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 5.823e-05/0.162, allocations: 97.28 kB / 448.8 MB, free: 40.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.587e-05/0.1621, allocations: 44 kB / 448.8 MB, free: 40.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1621, allocations: 2.625 kB / 448.8 MB, free: 40.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.895e-05/0.1621, allocations: 19.34 kB / 448.8 MB, free: 40.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.1623, allocations: 16.58 kB / 448.8 MB, free: 40.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002893/0.1626, allocations: 224.5 kB / 449.1 MB, free: 40.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.518e-05/0.1626, allocations: 87.77 kB / 449.1 MB, free: 40.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/0.1627, allocations: 17.09 kB / 449.2 MB, free: 40.7 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.1627, allocations: 0 / 449.2 MB, free: 40.7 MB / 410.7 MB Notification: Performance of Templates: time 0.00152/0.1642, allocations: 1.134 MB / 450.3 MB, free: 40.63 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.57831322774291]