Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 116.5 kB / 17.7 MB, free: 5.438 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.001064/0.001064, allocations: 191 kB / 18.63 MB, free: 4.508 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.477/1.477, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.001731, allocations: 47.3 kB / 302.1 MB, free: 5.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1591, allocations: 49.45 MB / 351.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.005059/0.1642, allocations: 1.479 MB / 353 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005905/0.1649, allocations: 141 kB / 353.1 MB, free: 2.062 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.165, allocations: 0 / 353.1 MB, free: 2.062 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.273e-05/0.1651, allocations: 3.938 kB / 353.1 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002061/0.1654, allocations: 7.938 kB / 353.1 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.1658, allocations: 33.66 kB / 353.2 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.1659, allocations: 35.86 kB / 353.2 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.1661, allocations: 7.984 kB / 353.2 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.97e-05/0.1662, allocations: 11.94 kB / 353.2 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.34e-05/0.1663, allocations: 15.92 kB / 353.2 MB, free: 1.949 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.587e-05/0.1663, allocations: 0 / 353.2 MB, free: 1.949 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.632e-05/0.1663, allocations: 4 kB / 353.2 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.638e-05/0.1664, allocations: 8 kB / 353.3 MB, free: 1.938 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.66e-05/0.1665, allocations: 23.8 kB / 353.3 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.1667, allocations: 39.83 kB / 353.3 MB, free: 1.875 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.1667, allocations: 4 kB / 353.3 MB, free: 1.871 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.606e-06/0.1667, allocations: 0 / 353.3 MB, free: 1.871 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.1667, allocations: 0 / 353.3 MB, free: 1.871 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007393/0.1675, allocations: 363.2 kB / 353.7 MB, free: 1.465 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.271e-05/0.1675, allocations: 15.89 kB / 353.7 MB, free: 1.449 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.93e-05/0.1676, allocations: 4.844 kB / 353.7 MB, free: 1.445 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.168, allocations: 192.2 kB / 353.9 MB, free: 1.219 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/0.168, allocations: 4.375 kB / 353.9 MB, free: 1.215 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.1681, allocations: 384 / 353.9 MB, free: 1.215 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003518/0.1684, allocations: 89.61 kB / 354 MB, free: 1.109 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.1684, allocations: 192 / 354 MB, free: 1.109 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.1685, allocations: 15.86 kB / 354 MB, free: 1.094 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.1685, allocations: 0 / 354 MB, free: 1.094 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.209e-05/0.1686, allocations: 4 kB / 354 MB, free: 1.09 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004697/0.169, allocations: 269.7 kB / 354.3 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.386e-05/0.1692, allocations: 41.16 kB / 354.3 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.918e-05/0.1692, allocations: 17.78 kB / 354.3 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.1692, allocations: 11.88 kB / 354.3 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.1693, allocations: 30.56 kB / 354.4 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.1693, allocations: 0 / 354.4 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.000315/0.1696, allocations: 61.52 kB / 354.4 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.829e-05/0.1697, allocations: 81.11 kB / 354.5 MB, free: 488 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.1699, allocations: 133.2 kB / 354.6 MB, free: 348 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.1699, allocations: 29.7 kB / 354.7 MB, free: 312 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.778e-05/0.17, allocations: 84.14 kB / 354.7 MB, free: 224 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.361e-05/0.17, allocations: 4 kB / 354.7 MB, free: 220 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.288e-05/0.1701, allocations: 13.62 kB / 354.8 MB, free: 200 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.1703, allocations: 322.8 kB / 355.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.281e-05/0.1703, allocations: 4 kB / 355.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.451e-05/0.1704, allocations: 17.72 kB / 355.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.487e-05/0.1705, allocations: 29.7 kB / 355.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1705, allocations: 0 / 355.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001173/0.1706, allocations: 53.62 kB / 355.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.1706, allocations: 4 kB / 355.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1706, allocations: 3.938 kB / 355.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.1707, allocations: 0 / 355.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.426e-05/0.1707, allocations: 8.062 kB / 355.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.1707, allocations: 0 / 355.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.837e-05/0.1707, allocations: 0 / 355.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.1708, allocations: 0 / 355.2 MB, free: 15.73 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001381/0.1709, allocations: 125.8 kB / 355.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.739e-05/0.171, allocations: 33.61 kB / 355.3 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.804e-05/0.171, allocations: 11.53 kB / 355.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.171, allocations: 0 / 355.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.171, allocations: 0 / 355.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.171, allocations: 4.031 kB / 355.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.1713, allocations: 165.6 kB / 355.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.1713, allocations: 4 kB / 355.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.047e-06/0.1713, allocations: 3.938 kB / 355.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1713, allocations: 0 / 355.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.1713, allocations: 0 / 355.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1713, allocations: 0 / 355.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.1713, allocations: 4 kB / 355.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.1715, allocations: 164.1 kB / 355.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.532e-05/0.1716, allocations: 85.09 kB / 355.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.1716, allocations: 4 kB / 355.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.89e-05/0.1717, allocations: 3.984 kB / 355.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.1717, allocations: 4 kB / 355.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.1718, allocations: 4 kB / 355.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.671e-05/0.1719, allocations: 99.2 kB / 355.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1719, allocations: 0 / 355.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002317/0.1721, allocations: 8.031 kB / 355.9 MB, free: 14.92 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001444/0.1722, allocations: 107.7 kB / 356 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001255/0.1724, allocations: 15.98 kB / 356 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1724, allocations: 0 / 356 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.717e-05/0.1724, allocations: 8 kB / 356 MB, free: 14.78 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.1728, allocations: 19.89 kB / 356 MB, free: 14.76 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004596/0.1733, allocations: 146.5 kB / 356.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.1737, allocations: 0.6846 MB / 356.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.6e-05/0.1737, allocations: 0 / 356.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.1737, allocations: 11.44 kB / 356.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.1737, allocations: 0 / 356.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of Templates: time 0.003352/0.1771, allocations: 436.3 kB / 357.3 MB, free: 13.44 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches