Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001179, allocations: 105.8 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 50.7 kB / 300.6 MB, free: 5.875 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1483, allocations: 49.45 MB / 350.1 MB, free: 4.418 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003934/0.1522, allocations: 1.847 MB / 351.9 MB, free: 2.547 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.1535, allocations: 0.6273 MB / 352.5 MB, free: 1.918 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.1536, allocations: 11.94 kB / 352.5 MB, free: 1.906 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001738/0.1538, allocations: 23.73 kB / 352.6 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.154, allocations: 23.73 kB / 352.6 MB, free: 1.859 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003653/0.1544, allocations: 99.7 kB / 352.7 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.1546, allocations: 139.6 kB / 352.8 MB, free: 1.625 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.1548, allocations: 57.72 kB / 352.9 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.1549, allocations: 55.72 kB / 352.9 MB, free: 1.512 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.498e-05/0.155, allocations: 47.72 kB / 353 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.362e-05/0.155, allocations: 12 kB / 353 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.38e-05/0.155, allocations: 8 kB / 353 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.21e-05/0.1551, allocations: 39.83 kB / 353 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.727e-05/0.1552, allocations: 63.55 kB / 353.1 MB, free: 1.344 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.1554, allocations: 135.5 kB / 353.2 MB, free: 1.211 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.381e-06/0.1554, allocations: 4 kB / 353.2 MB, free: 1.207 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1554, allocations: 0 / 353.2 MB, free: 1.207 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1554, allocations: 0 / 353.2 MB, free: 1.207 MB / 286.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.0006715/0.1561, allocations: 451.2 kB / 353.7 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.1562, allocations: 15.89 kB / 353.7 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.906e-05/0.1562, allocations: 20.66 kB / 353.7 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.1566, allocations: 233.8 kB / 353.9 MB, free: 424 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.1566, allocations: 12.12 kB / 354 MB, free: 412 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.1566, allocations: 11.98 kB / 354 MB, free: 400 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005634/0.1572, allocations: 283.4 kB / 354.2 MB, free: 88 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1572, allocations: 4 kB / 354.2 MB, free: 84 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.1572, allocations: 0 / 354.2 MB, free: 84 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1572, allocations: 7.938 kB / 354.3 MB, free: 76 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002108/0.1575, allocations: 71.83 kB / 354.3 MB, free: 4 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005513/0.158, allocations: 431.4 kB / 354.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004897/0.1585, allocations: 298 kB / 355 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002188/0.1588, allocations: 116.3 kB / 355.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.1588, allocations: 4 kB / 355.2 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/0.1588, allocations: 42.55 kB / 355.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.513e-06/0.1589, allocations: 0 / 355.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.000593/0.1595, allocations: 213.2 kB / 355.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001586/0.1596, allocations: 203.8 kB / 355.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.1598, allocations: 175.1 kB / 355.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.1598, allocations: 30.08 kB / 355.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.678e-05/0.1599, allocations: 100.1 kB / 355.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.16, allocations: 15.89 kB / 355.9 MB, free: 14.19 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.544e-05/0.16, allocations: 41.61 kB / 356 MB, free: 14.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.1602, allocations: 322.8 kB / 356.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.304e-05/0.1602, allocations: 23.98 kB / 356.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.1604, allocations: 130.6 kB / 356.4 MB, free: 13.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.1606, allocations: 157.5 kB / 356.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.1606, allocations: 4 kB / 356.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002503/0.1609, allocations: 161.1 kB / 356.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.1609, allocations: 14.28 kB / 356.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/0.1609, allocations: 4 kB / 356.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/0.1609, allocations: 4 kB / 356.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.1611, allocations: 36.42 kB / 356.8 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.1611, allocations: 12 kB / 356.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.05e-05/0.1612, allocations: 11.92 kB / 356.8 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.1612, allocations: 12.38 kB / 356.8 MB, free: 13.16 MB / 302.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 0.0001044/0.1613, allocations: 133.7 kB / 357 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002729/0.1616, allocations: 157.1 kB / 357.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.988e-05/0.1617, allocations: 21.41 kB / 357.1 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.1617, allocations: 8.266 kB / 357.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1617, allocations: 0 / 357.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.1617, allocations: 3.984 kB / 357.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.162, allocations: 213.6 kB / 357.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.162, allocations: 0 / 357.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.1622, allocations: 39.91 kB / 357.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.1622, allocations: 7.938 kB / 357.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.1622, allocations: 4 kB / 357.4 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.1622, allocations: 7.938 kB / 357.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1622, allocations: 0 / 357.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004018/0.1626, allocations: 357.1 kB / 357.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-05/0.1627, allocations: 108.8 kB / 357.9 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.1628, allocations: 15.92 kB / 357.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.1629, allocations: 8 kB / 357.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.163, allocations: 11.92 kB / 357.9 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.163, allocations: 4 kB / 357.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001057/0.1631, allocations: 133.2 kB / 358 MB, free: 11.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1631, allocations: 0 / 358 MB, free: 11.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000319/0.1634, allocations: 20 kB / 358.1 MB, free: 11.82 MB / 302.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.0001199/0.1635, allocations: 111.2 kB / 358.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003008/0.1638, allocations: 115.7 kB / 358.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1639, allocations: 0 / 358.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.497e-05/0.1639, allocations: 12.98 kB / 358.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007423/0.1647, allocations: 108.5 kB / 358.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008615/0.1655, allocations: 367.2 kB / 358.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.1659, allocations: 0.728 MB / 359.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.427e-05/0.166, allocations: 13.55 kB / 359.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.879e-05/0.166, allocations: 15.44 kB / 359.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.166, allocations: 0 / 359.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of Templates: time 0.004719/0.1707, allocations: 1.678 MB / 361.2 MB, free: 8.633 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches