Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001867/0.001868, allocations: 181.2 kB / 17.46 MB, free: 4.238 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.743/2.743, allocations: 205.4 MB / 223.6 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 82.42 kB / 272 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1628/0.1628, allocations: 12.2 MB / 332.4 MB, free: 11.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007205/0.0007212, allocations: 19.98 kB / 392.7 MB, free: 67.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1829, allocations: 50.29 MB / 443 MB, free: 16.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6437/0.8267, allocations: 77.33 MB / 0.5082 GB, free: 13.15 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/0.8271, allocations: 79.56 kB / 0.5082 GB, free: 13.15 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001875/0.829, allocations: 0.6975 MB / 0.5089 GB, free: 12.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.829, allocations: 0 / 0.5089 GB, free: 12.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.829, allocations: 0 / 0.5089 GB, free: 12.82 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003396/0.8294, allocations: 341.2 kB / 0.5092 GB, free: 12.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.8294, allocations: 11.06 kB / 0.5092 GB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.8295, allocations: 9.188 kB / 0.5093 GB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.8296, allocations: 167 kB / 0.5094 GB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.8297, allocations: 384 / 0.5094 GB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.8297, allocations: 8.812 kB / 0.5094 GB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000381/0.8301, allocations: 114.7 kB / 0.5095 GB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.8301, allocations: 192 / 0.5095 GB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.8301, allocations: 11.8 kB / 0.5095 GB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.8302, allocations: 0 / 0.5095 GB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.8303, allocations: 17.27 kB / 0.5096 GB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001743/0.8304, allocations: 162.7 kB / 0.5097 GB, free: 12 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.8307, allocations: 60.41 kB / 0.5098 GB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.801e-05/0.8308, allocations: 23.09 kB / 0.5098 GB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.8308, allocations: 0 / 0.5098 GB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.8308, allocations: 38.5 kB / 0.5098 GB, free: 11.92 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.8308, allocations: 0 / 0.5098 GB, free: 11.92 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002833/0.8311, allocations: 79.38 kB / 0.5099 GB, free: 11.88 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.8312, allocations: 58.5 kB / 0.51 GB, free: 11.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.895e-05/0.8313, allocations: 111.2 kB / 0.5101 GB, free: 11.72 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.8313, allocations: 25.7 kB / 0.5101 GB, free: 11.69 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.369e-05/0.8313, allocations: 87.52 kB / 0.5102 GB, free: 11.61 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.362e-06/0.8314, allocations: 0 / 0.5102 GB, free: 11.61 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.8314, allocations: 3.781 kB / 0.5102 GB, free: 11.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.484e-05/0.8315, allocations: 317.5 kB / 0.5105 GB, free: 11.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.167e-05/0.8315, allocations: 0 / 0.5105 GB, free: 11.29 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.848e-05/0.8315, allocations: 33.59 kB / 0.5105 GB, free: 11.26 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.749e-05/0.8316, allocations: 33.5 kB / 0.5105 GB, free: 11.22 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.8316, allocations: 3.938 kB / 0.5105 GB, free: 11.22 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.024e-05/0.8317, allocations: 55.17 kB / 0.5106 GB, free: 11.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.8317, allocations: 11.5 kB / 0.5106 GB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.8317, allocations: 4.062 kB / 0.5106 GB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.8317, allocations: 4 kB / 0.5106 GB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.601e-05/0.8318, allocations: 7.688 kB / 0.5106 GB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.8318, allocations: 0 / 0.5106 GB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.949e-05/0.8319, allocations: 7.719 kB / 0.5106 GB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.8319, allocations: 4.812 kB / 0.5106 GB, free: 11.16 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.023e-05/0.832, allocations: 125.3 kB / 0.5108 GB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.8321, allocations: 61.09 kB / 0.5108 GB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.946e-05/0.8322, allocations: 15.66 kB / 0.5108 GB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.8322, allocations: 0 / 0.5108 GB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.8322, allocations: 0 / 0.5108 GB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.8322, allocations: 0 / 0.5108 GB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.83e-05/0.8323, allocations: 155.9 kB / 0.511 GB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.8323, allocations: 4 kB / 0.511 GB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.621e-05/0.8324, allocations: 7.531 kB / 0.511 GB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.8324, allocations: 3.844 kB / 0.511 GB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.8324, allocations: 6.984 kB / 0.511 GB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.8324, allocations: 0 / 0.511 GB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.8324, allocations: 4.328 kB / 0.511 GB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.8326, allocations: 93.84 kB / 0.5111 GB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.041e-05/0.8327, allocations: 80.8 kB / 0.5112 GB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.8327, allocations: 3.938 kB / 0.5112 GB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.898e-05/0.8327, allocations: 7.266 kB / 0.5112 GB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-06/0.8327, allocations: 4 kB / 0.5112 GB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.8328, allocations: 2.875 kB / 0.5112 GB, free: 10.62 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.552e-05/0.8328, allocations: 79.12 kB / 0.5113 GB, free: 10.54 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.8328, allocations: 3.938 kB / 0.5113 GB, free: 10.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002895/0.8331, allocations: 6.812 kB / 0.5113 GB, free: 10.54 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001192/0.8332, allocations: 90.62 kB / 0.5114 GB, free: 10.45 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001875/0.8334, allocations: 29.72 kB / 0.5114 GB, free: 10.45 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.8335, allocations: 4.062 kB / 0.5114 GB, free: 10.45 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.8335, allocations: 3.875 kB / 0.5114 GB, free: 10.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.8339, allocations: 22.16 kB / 0.5114 GB, free: 10.44 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003844/0.8343, allocations: 143.5 kB / 0.5116 GB, free: 10.3 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/0.8345, allocations: 0.6763 MB / 0.5122 GB, free: 9.605 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/0.8345, allocations: 15.12 kB / 0.5122 GB, free: 9.598 MB / 330.7 MB Notification: Performance of SimCode: time 2.756e-06/0.8345, allocations: 0 / 0.5122 GB, free: 9.598 MB / 330.7 MB Notification: Performance of Templates: time 0.002659/0.8372, allocations: 0.5511 MB / 0.5128 GB, free: 9.566 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches