Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001568/0.001569, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001918/0.001918, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001172, allocations: 55.97 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1314, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003629/0.1351, allocations: 1.908 MB / 360.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.1372, allocations: 1.216 MB / 362 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.1374, allocations: 7.938 kB / 362 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006684/0.1381, allocations: 155.5 kB / 362.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004038/0.1385, allocations: 159.4 kB / 362.3 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004843/0.139, allocations: 171 kB / 362.5 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000272/0.1392, allocations: 199.4 kB / 362.7 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.1394, allocations: 41.58 kB / 362.7 MB, free: 9.461 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.1395, allocations: 79.69 kB / 362.8 MB, free: 9.383 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.1396, allocations: 79.62 kB / 362.9 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.1397, allocations: 12 kB / 362.9 MB, free: 9.293 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.1398, allocations: 63.84 kB / 363 MB, free: 9.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.591e-05/0.1399, allocations: 47.83 kB / 363 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.819e-05/0.14, allocations: 75.48 kB / 363.1 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003327/0.1403, allocations: 215.2 kB / 363.3 MB, free: 8.898 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.1403, allocations: 4 kB / 363.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1403, allocations: 0 / 363.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1404, allocations: 0 / 363.3 MB, free: 8.895 MB / 302.1 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.0008374/0.1412, allocations: 0.5157 MB / 363.8 MB, free: 8.324 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.1413, allocations: 12.03 kB / 363.8 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.528e-05/0.1413, allocations: 20.66 kB / 363.8 MB, free: 8.293 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000432/0.1418, allocations: 274.7 kB / 364.1 MB, free: 7.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.1418, allocations: 8.375 kB / 364.1 MB, free: 7.973 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.1418, allocations: 8.125 kB / 364.1 MB, free: 7.965 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003772/0.1422, allocations: 167.6 kB / 364.3 MB, free: 7.773 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1423, allocations: 3.938 kB / 364.3 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.1423, allocations: 4 kB / 364.3 MB, free: 7.766 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.1423, allocations: 0 / 364.3 MB, free: 7.766 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.1424, allocations: 43.91 kB / 364.3 MB, free: 7.723 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006156/0.143, allocations: 450.5 kB / 364.8 MB, free: 7.223 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003231/0.1434, allocations: 138.5 kB / 364.9 MB, free: 7.051 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.955e-05/0.1435, allocations: 55.41 kB / 365 MB, free: 6.984 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.1435, allocations: 4 kB / 365 MB, free: 6.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002285/0.1438, allocations: 93.05 kB / 365.1 MB, free: 6.871 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.823e-06/0.1438, allocations: 0 / 365.1 MB, free: 6.871 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004947/0.1443, allocations: 161.2 kB / 365.2 MB, free: 6.707 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001994/0.1445, allocations: 162.6 kB / 365.4 MB, free: 6.512 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003415/0.1448, allocations: 273 kB / 365.7 MB, free: 6.238 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.1449, allocations: 33.69 kB / 365.7 MB, free: 6.199 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.145, allocations: 124.3 kB / 365.8 MB, free: 6.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.145, allocations: 19.88 kB / 365.8 MB, free: 6.051 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.393e-05/0.1451, allocations: 29.7 kB / 365.9 MB, free: 6.016 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1452, allocations: 334.8 kB / 366.2 MB, free: 5.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.056e-05/0.1453, allocations: 27.92 kB / 366.2 MB, free: 5.652 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.1454, allocations: 82.84 kB / 366.3 MB, free: 5.547 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.1456, allocations: 89.11 kB / 366.4 MB, free: 5.441 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1456, allocations: 0 / 366.4 MB, free: 5.441 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000226/0.1458, allocations: 125.4 kB / 366.5 MB, free: 5.312 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.1458, allocations: 8 kB / 366.5 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1459, allocations: 0 / 366.5 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.1459, allocations: 4 kB / 366.5 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.549e-05/0.146, allocations: 12.09 kB / 366.5 MB, free: 5.289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.146, allocations: 8 kB / 366.5 MB, free: 5.281 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.438e-05/0.1461, allocations: 27.7 kB / 366.6 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.1461, allocations: 4 kB / 366.6 MB, free: 5.25 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0002847/0.1464, allocations: 145.8 kB / 366.7 MB, free: 5.098 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.1465, allocations: 77.34 kB / 366.8 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.933e-05/0.1466, allocations: 17.72 kB / 366.8 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.1466, allocations: 4.375 kB / 366.8 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.1466, allocations: 4 kB / 366.8 MB, free: 4.992 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.1466, allocations: 11.86 kB / 366.8 MB, free: 4.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.1469, allocations: 233.6 kB / 367 MB, free: 4.703 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1469, allocations: 4 kB / 367.1 MB, free: 4.699 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.862e-05/0.1469, allocations: 7.938 kB / 367.1 MB, free: 4.691 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.1469, allocations: 3.984 kB / 367.1 MB, free: 4.688 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.147, allocations: 8 kB / 367.1 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.147, allocations: 0 / 367.1 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.147, allocations: 0 / 367.1 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.1473, allocations: 179.3 kB / 367.2 MB, free: 4.477 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.1474, allocations: 112.8 kB / 367.4 MB, free: 4.348 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/0.1474, allocations: 7.938 kB / 367.4 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.305e-05/0.1475, allocations: 8 kB / 367.4 MB, free: 4.332 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.1475, allocations: 7.922 kB / 367.4 MB, free: 4.324 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.1476, allocations: 12 kB / 367.4 MB, free: 4.312 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002117/0.1478, allocations: 200.5 kB / 367.6 MB, free: 4.117 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1478, allocations: 0 / 367.6 MB, free: 4.117 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.1481, allocations: 28 kB / 367.6 MB, free: 4.09 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001051/0.1491, allocations: 414.6 kB / 368 MB, free: 3.816 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000258/0.1494, allocations: 83.97 kB / 368.1 MB, free: 3.734 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.1494, allocations: 4 kB / 368.1 MB, free: 3.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.939e-05/0.1495, allocations: 23.98 kB / 368.1 MB, free: 3.707 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.1499, allocations: 72.91 kB / 368.2 MB, free: 3.637 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007487/0.1507, allocations: 337.4 kB / 368.5 MB, free: 3.27 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/0.1511, allocations: 0.7435 MB / 369.3 MB, free: 2.5 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.919e-05/0.1512, allocations: 21.53 kB / 369.3 MB, free: 2.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.824e-05/0.1512, allocations: 19.44 kB / 369.3 MB, free: 2.465 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1513, allocations: 0 / 369.3 MB, free: 2.465 MB / 302.1 MB Notification: Performance of Templates: time 0.2437/0.3949, allocations: 2.55 MB / 371.9 MB, free: 19.85 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches