Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_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-master/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-master/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_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_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.001029/0.001029, allocations: 174.1 kB / 16.8 MB, free: 5.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.4 MB / 223 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.0007928/0.000793, allocations: 84.77 kB / 271.3 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08826/0.08826, allocations: 12.6 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004364/0.0004364, allocations: 19.92 kB / 393.2 MB, free: 65.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0993/0.09975, allocations: 50.36 MB / 443.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3603/0.4601, allocations: 77.78 MB / 0.5092 GB, free: 13.57 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.4604, allocations: 77.66 kB / 0.5092 GB, free: 13.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002829/0.4633, allocations: 1.068 MB / 0.5103 GB, free: 13.17 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4633, allocations: 0 / 0.5103 GB, free: 13.17 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.4633, allocations: 3.906 kB / 0.5103 GB, free: 13.17 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.0003295/0.4636, allocations: 352.9 kB / 0.5106 GB, free: 12.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.4637, allocations: 7.625 kB / 0.5106 GB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.4637, allocations: 8.812 kB / 0.5106 GB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.4639, allocations: 193.9 kB / 0.5108 GB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.464, allocations: 3.844 kB / 0.5108 GB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.464, allocations: 4.219 kB / 0.5108 GB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/0.4643, allocations: 111.6 kB / 0.5109 GB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.4643, allocations: 192 / 0.5109 GB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.4643, allocations: 11.16 kB / 0.5109 GB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.4643, allocations: 2.438 kB / 0.5109 GB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.004e-05/0.4644, allocations: 15.78 kB / 0.511 GB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.4647, allocations: 260.7 kB / 0.5112 GB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.4649, allocations: 140.4 kB / 0.5113 GB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.062e-05/0.465, allocations: 32.67 kB / 0.5114 GB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.465, allocations: 3 kB / 0.5114 GB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/0.465, allocations: 30.56 kB / 0.5114 GB, free: 11.99 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.465, allocations: 0 / 0.5114 GB, free: 11.99 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002079/0.4652, allocations: 78.75 kB / 0.5115 GB, free: 11.94 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.4653, allocations: 84.8 kB / 0.5116 GB, free: 11.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.456e-05/0.4654, allocations: 137.6 kB / 0.5117 GB, free: 11.73 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.4654, allocations: 25.7 kB / 0.5117 GB, free: 11.7 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.272e-05/0.4654, allocations: 83.77 kB / 0.5118 GB, free: 11.62 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.826e-06/0.4654, allocations: 3.594 kB / 0.5118 GB, free: 11.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/0.4654, allocations: 0 / 0.5118 GB, free: 11.62 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.058e-05/0.4655, allocations: 318.7 kB / 0.5121 GB, free: 11.3 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.892e-05/0.4655, allocations: 15.25 kB / 0.5121 GB, free: 11.29 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.012e-05/0.4656, allocations: 34.3 kB / 0.5122 GB, free: 11.26 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.366e-05/0.4656, allocations: 46.41 kB / 0.5122 GB, free: 11.21 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.4656, allocations: 3.938 kB / 0.5122 GB, free: 11.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.948e-05/0.4657, allocations: 64.06 kB / 0.5123 GB, free: 11.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.4658, allocations: 11.64 kB / 0.5123 GB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.4658, allocations: 0 / 0.5123 GB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.4658, allocations: 0 / 0.5123 GB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.015e-05/0.4658, allocations: 3.875 kB / 0.5123 GB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.4658, allocations: 0 / 0.5123 GB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.338e-05/0.4659, allocations: 11.56 kB / 0.5123 GB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.4659, allocations: 0 / 0.5123 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: 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 6.812e-05/0.4659, allocations: 133.7 kB / 0.5124 GB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.565e-05/0.466, allocations: 40.8 kB / 0.5125 GB, free: 11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/0.466, allocations: 11.39 kB / 0.5125 GB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4661, allocations: 3.969 kB / 0.5125 GB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.4661, allocations: 0 / 0.5125 GB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.4661, allocations: 0 / 0.5125 GB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.4662, allocations: 169 kB / 0.5126 GB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.4662, allocations: 4 kB / 0.5126 GB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.185e-06/0.4662, allocations: 7.625 kB / 0.5126 GB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4662, allocations: 0 / 0.5126 GB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.4662, allocations: 0 / 0.5126 GB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4662, allocations: 0 / 0.5126 GB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4663, allocations: 3.875 kB / 0.5126 GB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.4664, allocations: 166.8 kB / 0.5128 GB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.4664, allocations: 92.31 kB / 0.5129 GB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.4664, allocations: 0 / 0.5129 GB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.316e-05/0.4665, allocations: 7.828 kB / 0.5129 GB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.791e-05/0.4665, allocations: 0 / 0.5129 GB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.4665, allocations: 3.844 kB / 0.5129 GB, free: 10.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.278e-05/0.4666, allocations: 98.48 kB / 0.513 GB, free: 10.44 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4666, allocations: 0 / 0.513 GB, free: 10.44 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002433/0.4668, allocations: 7.375 kB / 0.513 GB, free: 10.44 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 7.651e-05/0.4669, allocations: 98.62 kB / 0.5131 GB, free: 10.35 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001111/0.467, allocations: 27.14 kB / 0.5131 GB, free: 10.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4671, allocations: 0 / 0.5131 GB, free: 10.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.511e-05/0.4671, allocations: 7.828 kB / 0.5131 GB, free: 10.34 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.4674, allocations: 35.09 kB / 0.5132 GB, free: 10.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002889/0.4677, allocations: 160.1 kB / 0.5133 GB, free: 10.17 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001548/0.4679, allocations: 0.6878 MB / 0.514 GB, free: 9.469 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.309e-05/0.4679, allocations: 4.109 kB / 0.514 GB, free: 9.469 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.033e-05/0.4679, allocations: 11.38 kB / 0.514 GB, free: 9.461 MB / 330.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4679, allocations: 0 / 0.514 GB, free: 9.461 MB / 330.7 MB Notification: Performance of Templates: time 0.002289/0.4702, allocations: 446.4 kB / 0.5144 GB, free: 9.246 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_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_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches