Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.HoldWithDAeffects2,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.HoldWithDAeffects2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,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.HoldWithDAeffects2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 108.9 kB / 16.62 MB, free: 6.961 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.00192/0.00192, allocations: 190 kB / 17.54 MB, free: 6.066 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.401/1.401, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 51.14 kB / 300.1 MB, free: 6.141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1184, allocations: 49.44 MB / 349.6 MB, free: 4.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.004232/0.1227, allocations: 1.903 MB / 351.5 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.1238, allocations: 0.6234 MB / 352.1 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.124, allocations: 11.94 kB / 352.1 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.1242, allocations: 15.86 kB / 352.1 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.1243, allocations: 15.88 kB / 352.1 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003561/0.1246, allocations: 91.84 kB / 352.2 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.1248, allocations: 135.6 kB / 352.4 MB, free: 1.879 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.1251, allocations: 61.7 kB / 352.4 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.1252, allocations: 55.72 kB / 352.5 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.179e-05/0.1253, allocations: 51.72 kB / 352.5 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.1253, allocations: 12 kB / 352.5 MB, free: 1.699 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.038e-05/0.1253, allocations: 8 kB / 352.6 MB, free: 1.691 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.032e-05/0.1254, allocations: 35.84 kB / 352.6 MB, free: 1.656 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.262e-05/0.1255, allocations: 59.61 kB / 352.6 MB, free: 1.598 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.1257, allocations: 147.5 kB / 352.8 MB, free: 1.453 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1257, allocations: 0 / 352.8 MB, free: 1.453 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1257, allocations: 0 / 352.8 MB, free: 1.453 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.1257, allocations: 0 / 352.8 MB, free: 1.453 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.0006621/0.1264, allocations: 447.2 kB / 353.2 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.1264, allocations: 15.89 kB / 353.2 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.689e-05/0.1265, allocations: 20.66 kB / 353.3 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.1268, allocations: 237.8 kB / 353.5 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.1268, allocations: 12.12 kB / 353.5 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.1268, allocations: 8 kB / 353.5 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006328/0.1275, allocations: 285.8 kB / 353.8 MB, free: 340 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.1275, allocations: 0 / 353.8 MB, free: 340 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.1275, allocations: 8 kB / 353.8 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.1275, allocations: 0 / 353.8 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002049/0.1277, allocations: 75.88 kB / 353.9 MB, free: 256 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005102/0.1283, allocations: 431.3 kB / 354.3 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004785/0.1287, allocations: 298.1 kB / 354.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/0.1289, allocations: 112.2 kB / 354.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.129, allocations: 4 kB / 354.7 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.129, allocations: 42.5 kB / 354.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.129, allocations: 0 / 354.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005385/0.1296, allocations: 225.2 kB / 355 MB, free: 15 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.1297, allocations: 191.9 kB / 355.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.1299, allocations: 183.1 kB / 355.3 MB, free: 14.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.1299, allocations: 30.08 kB / 355.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.239e-05/0.13, allocations: 104.5 kB / 355.5 MB, free: 14.44 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.13, allocations: 19.8 kB / 355.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.315e-05/0.1301, allocations: 37.7 kB / 355.5 MB, free: 14.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1302, allocations: 322.8 kB / 355.8 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.022e-05/0.1303, allocations: 31.92 kB / 355.9 MB, free: 14.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.1304, allocations: 138.2 kB / 356 MB, free: 13.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.1306, allocations: 170.4 kB / 356.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.1306, allocations: 4 kB / 356.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002798/0.1309, allocations: 173.1 kB / 356.3 MB, free: 13.44 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1309, allocations: 8.531 kB / 356.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.1309, allocations: 0 / 356.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.131, allocations: 12 kB / 356.4 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.1311, allocations: 39.91 kB / 356.4 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.1311, allocations: 7.938 kB / 356.4 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.1312, allocations: 23.78 kB / 356.4 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.1313, allocations: 8 kB / 356.4 MB, free: 13.34 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001174/0.1314, allocations: 141.7 kB / 356.6 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002695/0.1317, allocations: 145.3 kB / 356.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.681e-05/0.1317, allocations: 25.39 kB / 356.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.1317, allocations: 4 kB / 356.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.1318, allocations: 0 / 356.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.1318, allocations: 7.938 kB / 356.8 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002813/0.1321, allocations: 221.6 kB / 357 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1321, allocations: 0 / 357 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.1322, allocations: 35.98 kB / 357 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.1322, allocations: 4 kB / 357 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.1322, allocations: 7.922 kB / 357 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1322, allocations: 8.031 kB / 357 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1323, allocations: 0 / 357 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004152/0.1327, allocations: 364.9 kB / 357.4 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.832e-05/0.1328, allocations: 108.8 kB / 357.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.1328, allocations: 4 kB / 357.5 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.133, allocations: 15.98 kB / 357.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.133, allocations: 7.875 kB / 357.5 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.133, allocations: 8 kB / 357.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001001/0.1331, allocations: 137.1 kB / 357.7 MB, free: 12.01 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1332, allocations: 0 / 357.7 MB, free: 12.01 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003279/0.1335, allocations: 20 kB / 357.7 MB, free: 11.99 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: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.000134/0.1336, allocations: 115.2 kB / 357.8 MB, free: 11.87 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003097/0.1339, allocations: 128.6 kB / 357.9 MB, free: 11.74 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.134, allocations: 0 / 357.9 MB, free: 11.74 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5e-05/0.134, allocations: 16.11 kB / 357.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006683/0.1347, allocations: 103.9 kB / 358 MB, free: 11.62 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006362/0.1353, allocations: 375.1 kB / 358.4 MB, free: 11.22 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.1357, allocations: 0.728 MB / 359.1 MB, free: 10.47 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.469e-05/0.1358, allocations: 17.53 kB / 359.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.621e-05/0.1358, allocations: 15.44 kB / 359.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1358, allocations: 4 kB / 359.2 MB, free: 10.43 MB / 302.1 MB Notification: Performance of Templates: time 0.004691/0.1405, allocations: 1.691 MB / 360.8 MB, free: 8.758 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches