Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.001634/0.001634, allocations: 119.4 kB / 17.79 MB, free: 5.285 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.001764/0.001764, allocations: 200.3 kB / 20.74 MB, free: 2.344 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.681/1.681, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 51.92 kB / 373.5 MB, free: 9.727 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1599, allocations: 53.33 MB / 426.8 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.004512/0.1644, allocations: 1.879 MB / 428.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.1664, allocations: 0.6975 MB / 429.4 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002283/0.1666, allocations: 7.938 kB / 429.4 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002595/0.1669, allocations: 27.67 kB / 429.4 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002099/0.1671, allocations: 27.78 kB / 429.5 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007087/0.1678, allocations: 111.6 kB / 429.6 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000325/0.1681, allocations: 139.6 kB / 429.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000255/0.1684, allocations: 49.7 kB / 429.7 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002463/0.1686, allocations: 63.7 kB / 429.8 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.1688, allocations: 51.72 kB / 429.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.279e-05/0.1688, allocations: 8 kB / 429.9 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.025e-05/0.1689, allocations: 16 kB / 429.9 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.169, allocations: 39.78 kB / 429.9 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.1691, allocations: 59.61 kB / 430 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004183/0.1695, allocations: 155.2 kB / 430.1 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1695, allocations: 0 / 430.1 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1695, allocations: 0 / 430.1 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.1696, allocations: 0 / 430.1 MB, free: 0.9609 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009748/0.1705, allocations: 458.8 kB / 430.6 MB, free: 476 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/0.1706, allocations: 8.031 kB / 430.6 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002729/0.1709, allocations: 28.83 kB / 430.6 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000463/0.1713, allocations: 256.1 kB / 430.9 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.1713, allocations: 8.125 kB / 430.9 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.1714, allocations: 8 kB / 430.9 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3391/0.5104, allocations: 268.3 kB / 431.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.5104, allocations: 3.156 kB / 431.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.5105, allocations: 6.5 kB / 431.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.5105, allocations: 6.969 kB / 431.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002567/0.5107, allocations: 72.14 kB / 431.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000508/0.5112, allocations: 430.7 kB / 431.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004847/0.5117, allocations: 283.8 kB / 431.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.5119, allocations: 109.5 kB / 432 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.5119, allocations: 6.844 kB / 432 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.512, allocations: 34.62 kB / 432.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.833e-06/0.512, allocations: 0 / 432.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005898/0.5126, allocations: 221.4 kB / 432.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.454e-05/0.5126, allocations: 194.8 kB / 432.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.5128, allocations: 184.6 kB / 432.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.5128, allocations: 30.77 kB / 432.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.644e-05/0.5128, allocations: 104.3 kB / 432.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.5129, allocations: 21.67 kB / 432.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.116e-05/0.5129, allocations: 29.25 kB / 432.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.853e-05/0.513, allocations: 327.8 kB / 433.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.958e-05/0.513, allocations: 22.55 kB / 433.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.5132, allocations: 131.8 kB / 433.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.5133, allocations: 159.7 kB / 433.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.5133, allocations: 1.594 kB / 433.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002679/0.5136, allocations: 160.5 kB / 433.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.5136, allocations: 7.281 kB / 433.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.5136, allocations: 2.906 kB / 433.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.5136, allocations: 10.5 kB / 433.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.5138, allocations: 36.84 kB / 433.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.5138, allocations: 10.16 kB / 433.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.5139, allocations: 21.67 kB / 433.7 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.514, allocations: 11.25 kB / 433.7 MB, free: 9.574 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.545e-05/0.514, allocations: 131.9 kB / 433.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002789/0.5143, allocations: 140.1 kB / 434 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.493e-05/0.5144, allocations: 26.42 kB / 434 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.5144, allocations: 3.266 kB / 434 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5144, allocations: 2.125 kB / 434 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.5144, allocations: 13.52 kB / 434 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.5146, allocations: 215.7 kB / 434.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.5146, allocations: 2.812 kB / 434.3 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.5147, allocations: 44.03 kB / 434.3 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.5148, allocations: 3.812 kB / 434.3 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.5148, allocations: 0 / 434.3 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.5148, allocations: 3.719 kB / 434.3 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5148, allocations: 0 / 434.3 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003628/0.5151, allocations: 365.7 kB / 434.7 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.911e-05/0.5152, allocations: 111.6 kB / 434.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.5152, allocations: 5.469 kB / 434.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.5154, allocations: 13.67 kB / 434.8 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.5154, allocations: 13.08 kB / 434.8 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.5154, allocations: 7.219 kB / 434.8 MB, free: 8.848 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.523e-05/0.5155, allocations: 131.2 kB / 434.9 MB, free: 8.773 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5155, allocations: 1.469 kB / 434.9 MB, free: 8.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003257/0.5158, allocations: 20.5 kB / 435 MB, free: 8.773 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001003/0.5159, allocations: 105.1 kB / 435.1 MB, free: 8.684 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002754/0.5162, allocations: 114.2 kB / 435.2 MB, free: 8.668 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.5162, allocations: 0 / 435.2 MB, free: 8.668 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.25e-05/0.5163, allocations: 9.469 kB / 435.2 MB, free: 8.668 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006678/0.5169, allocations: 103.5 kB / 435.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007766/0.5177, allocations: 371.8 kB / 435.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001911/0.5179, allocations: 0.7254 MB / 436.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.927e-05/0.5179, allocations: 13.34 kB / 436.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.826e-05/0.518, allocations: 17.88 kB / 436.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.518, allocations: 0 / 436.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of Templates: time 0.006035/0.524, allocations: 1.717 MB / 438.1 MB, free: 7.625 MB / 350.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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: 5.363476976752281]