Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.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.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|step.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|step.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002243/0.002243, allocations: 181 kB / 17.46 MB, free: 4.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.308/3.308, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.001666/0.001666, allocations: 82.42 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1786/0.1786, allocations: 12.2 MB / 332.4 MB, free: 11.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006216/0.0006217, allocations: 16 kB / 392.7 MB, free: 67.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1773, allocations: 50.29 MB / 443 MB, free: 16.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5919/0.7693, allocations: 77.74 MB / 0.5085 GB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003956/0.7698, allocations: 82.92 kB / 0.5086 GB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006083/0.7759, allocations: 1.628 MB / 0.5102 GB, free: 12.63 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.776, allocations: 0 / 0.5102 GB, free: 12.63 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.776, allocations: 0 / 0.5102 GB, free: 12.63 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004312/0.7764, allocations: 355.8 kB / 0.5105 GB, free: 12.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.7765, allocations: 15.69 kB / 0.5106 GB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.7765, allocations: 4.844 kB / 0.5106 GB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.7768, allocations: 201 kB / 0.5108 GB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.432e-05/0.7768, allocations: 3.875 kB / 0.5108 GB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.7769, allocations: 4.344 kB / 0.5108 GB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003645/0.7773, allocations: 122.8 kB / 0.5109 GB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.7773, allocations: 4.172 kB / 0.5109 GB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.7773, allocations: 7.812 kB / 0.5109 GB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.7773, allocations: 0 / 0.5109 GB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.751e-05/0.7774, allocations: 18.33 kB / 0.5109 GB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.7778, allocations: 261.4 kB / 0.5112 GB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.778, allocations: 139.6 kB / 0.5113 GB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.957e-05/0.7781, allocations: 28.05 kB / 0.5113 GB, free: 11.51 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.7781, allocations: 0 / 0.5113 GB, free: 11.51 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.7781, allocations: 38.44 kB / 0.5114 GB, free: 11.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.7782, allocations: 0 / 0.5114 GB, free: 11.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003052/0.7785, allocations: 73.52 kB / 0.5114 GB, free: 11.42 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.843e-05/0.7786, allocations: 84.7 kB / 0.5115 GB, free: 11.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.7787, allocations: 128.6 kB / 0.5116 GB, free: 11.22 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.7787, allocations: 25.7 kB / 0.5117 GB, free: 11.19 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/0.7788, allocations: 91.73 kB / 0.5117 GB, free: 11.1 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.311e-05/0.7788, allocations: 0 / 0.5117 GB, free: 11.1 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.7788, allocations: 0 / 0.5117 GB, free: 11.1 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.885e-05/0.7789, allocations: 318.6 kB / 0.512 GB, free: 10.79 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.308e-05/0.779, allocations: 11.66 kB / 0.5121 GB, free: 10.78 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.723e-05/0.7791, allocations: 30.89 kB / 0.5121 GB, free: 10.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.192e-05/0.7792, allocations: 42.28 kB / 0.5121 GB, free: 10.71 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.7792, allocations: 3.844 kB / 0.5121 GB, free: 10.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001497/0.7793, allocations: 69.84 kB / 0.5122 GB, free: 10.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.7794, allocations: 4.688 kB / 0.5122 GB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.7794, allocations: 3.844 kB / 0.5122 GB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.7794, allocations: 0 / 0.5122 GB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.66e-05/0.7795, allocations: 3.984 kB / 0.5122 GB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.7795, allocations: 3.844 kB / 0.5122 GB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.613e-05/0.7795, allocations: 3.875 kB / 0.5122 GB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.7795, allocations: 3.844 kB / 0.5122 GB, free: 10.65 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: 4 (sample.u,sample.y,assignClock.y,assignClock.u) * 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 0.0001076/0.7797, allocations: 133.9 kB / 0.5124 GB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.535e-05/0.7798, allocations: 48.88 kB / 0.5124 GB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.035e-05/0.7798, allocations: 10.62 kB / 0.5124 GB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.7798, allocations: 3.938 kB / 0.5124 GB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.7798, allocations: 0 / 0.5124 GB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.7799, allocations: 7.828 kB / 0.5124 GB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.78, allocations: 163.7 kB / 0.5126 GB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.7801, allocations: 0 / 0.5126 GB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.112e-05/0.7801, allocations: 3.984 kB / 0.5126 GB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.7801, allocations: 0 / 0.5126 GB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.7801, allocations: 3.875 kB / 0.5126 GB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.7801, allocations: 0 / 0.5126 GB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.7801, allocations: 8.266 kB / 0.5126 GB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.7803, allocations: 171.4 kB / 0.5128 GB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.607e-05/0.7804, allocations: 88.84 kB / 0.5128 GB, free: 10 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.7804, allocations: 0 / 0.5128 GB, free: 10 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.892e-05/0.7805, allocations: 7.781 kB / 0.5128 GB, free: 10 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/0.7806, allocations: 7.984 kB / 0.5129 GB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.7806, allocations: 0 / 0.5129 GB, free: 9.996 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001095/0.7807, allocations: 102.5 kB / 0.513 GB, free: 9.914 MB / 330.7 MB Notification: Performance of sort global known variables: time 2e-07/0.7807, allocations: 0 / 0.513 GB, free: 9.914 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003584/0.7811, allocations: 7.406 kB / 0.513 GB, free: 9.914 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (sample.u,assignClock.u,assignClock.y,sample.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.0001163/0.7812, allocations: 90.78 kB / 0.513 GB, free: 9.828 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001692/0.7814, allocations: 29.64 kB / 0.5131 GB, free: 9.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.7814, allocations: 4.062 kB / 0.5131 GB, free: 9.816 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.754e-05/0.7815, allocations: 11.67 kB / 0.5131 GB, free: 9.812 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005179/0.782, allocations: 27.84 kB / 0.5131 GB, free: 9.801 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004704/0.7825, allocations: 185.5 kB / 0.5133 GB, free: 9.617 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.7827, allocations: 0.6957 MB / 0.514 GB, free: 8.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.976e-05/0.7828, allocations: 11.25 kB / 0.514 GB, free: 8.906 MB / 330.7 MB Notification: Performance of SimCode: time 2.9e-07/0.7828, allocations: 0 / 0.514 GB, free: 8.906 MB / 330.7 MB Notification: Performance of Templates: time 0.003157/0.7859, allocations: 0.6681 MB / 0.5146 GB, free: 8.57 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1 --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches