Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.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-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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 171.9 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.745/1.745, allocations: 205.4 MB / 223 MB, free: 8.941 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.0007822/0.0007823, allocations: 88.08 kB / 271.3 MB, free: 8.242 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.09113/0.09113, allocations: 12.59 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004277/0.0004279, allocations: 16 kB / 393.2 MB, free: 65.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09988/0.1003, allocations: 50.38 MB / 443.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3948/0.4951, allocations: 77.39 MB / 0.5088 GB, free: 13.46 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.4954, allocations: 78.59 kB / 0.5089 GB, free: 13.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00148/0.4969, allocations: 0.6672 MB / 0.5095 GB, free: 13.13 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.497, allocations: 3.812 kB / 0.5095 GB, free: 13.13 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.497, allocations: 0 / 0.5095 GB, free: 13.13 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.0002711/0.4973, allocations: 331.6 kB / 0.5098 GB, free: 12.78 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.4973, allocations: 11.28 kB / 0.5098 GB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.4974, allocations: 8.078 kB / 0.5099 GB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.4975, allocations: 171.1 kB / 0.51 GB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.4975, allocations: 7.625 kB / 0.51 GB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-06/0.4975, allocations: 384 / 0.51 GB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.4978, allocations: 103.9 kB / 0.5101 GB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.4978, allocations: 192 / 0.5101 GB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.4979, allocations: 3.938 kB / 0.5101 GB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.4979, allocations: 3.812 kB / 0.5101 GB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.18e-05/0.4979, allocations: 14.14 kB / 0.5101 GB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001142/0.4981, allocations: 156 kB / 0.5103 GB, free: 12.33 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.4982, allocations: 57.94 kB / 0.5103 GB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.824e-05/0.4983, allocations: 16.48 kB / 0.5104 GB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.4983, allocations: 3.875 kB / 0.5104 GB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.4983, allocations: 33.47 kB / 0.5104 GB, free: 12.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.4983, allocations: 0 / 0.5104 GB, free: 12.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.000201/0.4985, allocations: 74.34 kB / 0.5105 GB, free: 12.21 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.4986, allocations: 58.53 kB / 0.5105 GB, free: 12.14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.077e-05/0.4987, allocations: 107.2 kB / 0.5106 GB, free: 12.04 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/0.4987, allocations: 25.7 kB / 0.5106 GB, free: 12.01 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.02e-05/0.4987, allocations: 82.83 kB / 0.5107 GB, free: 11.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.796e-06/0.4987, allocations: 3.844 kB / 0.5107 GB, free: 11.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-06/0.4987, allocations: 1.969 kB / 0.5107 GB, free: 11.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.605e-05/0.4988, allocations: 318.7 kB / 0.511 GB, free: 11.61 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.164e-05/0.4988, allocations: 7.047 kB / 0.511 GB, free: 11.61 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.98e-05/0.4988, allocations: 23.16 kB / 0.5111 GB, free: 11.58 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.681e-05/0.4989, allocations: 32.75 kB / 0.5111 GB, free: 11.55 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4989, allocations: 4 kB / 0.5111 GB, free: 11.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.974e-05/0.4989, allocations: 52.09 kB / 0.5112 GB, free: 11.51 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.499, allocations: 7.688 kB / 0.5112 GB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.499, allocations: 7.875 kB / 0.5112 GB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.499, allocations: 6.766 kB / 0.5112 GB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.415e-05/0.499, allocations: 3.938 kB / 0.5112 GB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.4991, allocations: 7.828 kB / 0.5112 GB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.817e-05/0.4991, allocations: 0 / 0.5112 GB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.4991, allocations: 4.125 kB / 0.5112 GB, free: 11.49 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 6.088e-05/0.4992, allocations: 121.2 kB / 0.5113 GB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.863e-05/0.4993, allocations: 58.44 kB / 0.5114 GB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.997e-05/0.4993, allocations: 11.47 kB / 0.5114 GB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.4993, allocations: 0 / 0.5114 GB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4993, allocations: 2.406 kB / 0.5114 GB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4993, allocations: 0 / 0.5114 GB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.252e-05/0.4994, allocations: 159 kB / 0.5115 GB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.4994, allocations: 4 kB / 0.5115 GB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.669e-05/0.4994, allocations: 7.781 kB / 0.5115 GB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.4994, allocations: 0 / 0.5115 GB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.4994, allocations: 7.875 kB / 0.5115 GB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.4995, allocations: 0 / 0.5115 GB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4995, allocations: 0 / 0.5115 GB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.5e-05/0.4996, allocations: 77.09 kB / 0.5116 GB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.063e-05/0.4996, allocations: 83.67 kB / 0.5117 GB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.4996, allocations: 11.06 kB / 0.5117 GB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.827e-05/0.4996, allocations: 0 / 0.5117 GB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.374e-06/0.4996, allocations: 3.844 kB / 0.5117 GB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.4997, allocations: 0 / 0.5117 GB, free: 10.95 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.478e-05/0.4997, allocations: 85.05 kB / 0.5118 GB, free: 10.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4997, allocations: 0 / 0.5118 GB, free: 10.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000179/0.4999, allocations: 3.875 kB / 0.5118 GB, free: 10.88 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 8.223e-05/0.5, allocations: 90.75 kB / 0.5119 GB, free: 10.79 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.988e-05/0.5001, allocations: 29.7 kB / 0.5119 GB, free: 10.79 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5001, allocations: 0 / 0.5119 GB, free: 10.79 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.164e-06/0.5001, allocations: 0 / 0.5119 GB, free: 10.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.5003, allocations: 34.33 kB / 0.5119 GB, free: 10.77 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002739/0.5006, allocations: 118.8 kB / 0.5121 GB, free: 10.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.5008, allocations: 0.6837 MB / 0.5127 GB, free: 9.961 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.383e-05/0.5008, allocations: 0 / 0.5127 GB, free: 9.961 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.5008, allocations: 7.438 kB / 0.5127 GB, free: 9.953 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5008, allocations: 0 / 0.5127 GB, free: 9.953 MB / 330.7 MB Notification: Performance of Templates: time 0.001981/0.5028, allocations: 290.2 kB / 0.513 GB, free: 9.863 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches