Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_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-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.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_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_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.001178/0.001178, allocations: 172 kB / 16.8 MB, free: 4.875 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.482/1.482, 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.0007808/0.0007808, allocations: 89.41 kB / 271.3 MB, free: 8.246 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.07578/0.07578, allocations: 12.6 MB / 332.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004509/0.0004509, allocations: 12 kB / 393.2 MB, free: 65.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1103, allocations: 50.36 MB / 443.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3725/0.4829, allocations: 77.4 MB / 0.5088 GB, free: 13.48 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/0.4831, allocations: 78.41 kB / 0.5089 GB, free: 13.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001457/0.4846, allocations: 0.6915 MB / 0.5095 GB, free: 13.15 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4846, allocations: 0 / 0.5095 GB, free: 13.15 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.4846, allocations: 3.344 kB / 0.5095 GB, free: 13.15 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.0002767/0.4849, allocations: 338.2 kB / 0.5099 GB, free: 12.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.485, allocations: 15.59 kB / 0.5099 GB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.485, allocations: 4.844 kB / 0.5099 GB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.4852, allocations: 174.5 kB / 0.5101 GB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.4852, allocations: 4.281 kB / 0.5101 GB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.4852, allocations: 7.75 kB / 0.5101 GB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002745/0.4855, allocations: 112 kB / 0.5102 GB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.4855, allocations: 192 / 0.5102 GB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.4855, allocations: 3.938 kB / 0.5102 GB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.4855, allocations: 4 kB / 0.5102 GB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.6e-05/0.4856, allocations: 18.56 kB / 0.5102 GB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001278/0.4857, allocations: 163.3 kB / 0.5104 GB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.4859, allocations: 64.02 kB / 0.5104 GB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.675e-05/0.4859, allocations: 32.42 kB / 0.5104 GB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.486, allocations: 0 / 0.5104 GB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.486, allocations: 33.84 kB / 0.5105 GB, free: 12.26 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.486, allocations: 0 / 0.5105 GB, free: 12.26 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002116/0.4862, allocations: 80.89 kB / 0.5106 GB, free: 12.21 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.4863, allocations: 58.72 kB / 0.5106 GB, free: 12.15 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.318e-05/0.4863, allocations: 100.1 kB / 0.5107 GB, free: 12.05 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.4864, allocations: 32.56 kB / 0.5107 GB, free: 12.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.468e-05/0.4864, allocations: 83.45 kB / 0.5108 GB, free: 11.94 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.193e-06/0.4864, allocations: 0 / 0.5108 GB, free: 11.94 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.245e-06/0.4864, allocations: 0 / 0.5108 GB, free: 11.94 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.534e-05/0.4865, allocations: 318.2 kB / 0.5111 GB, free: 11.63 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.678e-06/0.4865, allocations: 7.141 kB / 0.5111 GB, free: 11.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.875e-05/0.4865, allocations: 26.59 kB / 0.5112 GB, free: 11.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.26e-05/0.4865, allocations: 34.47 kB / 0.5112 GB, free: 11.56 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.4866, allocations: 4 kB / 0.5112 GB, free: 11.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.118e-05/0.4866, allocations: 52.09 kB / 0.5112 GB, free: 11.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.4866, allocations: 7.781 kB / 0.5112 GB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4867, allocations: 11.78 kB / 0.5113 GB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.4867, allocations: 0 / 0.5113 GB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.962e-05/0.4867, allocations: 14.58 kB / 0.5113 GB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.4868, allocations: 0 / 0.5113 GB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.933e-05/0.4868, allocations: 4.156 kB / 0.5113 GB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.4868, allocations: 3.812 kB / 0.5113 GB, free: 11.5 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 5.641e-05/0.4868, allocations: 128.7 kB / 0.5114 GB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.426e-05/0.4869, allocations: 58.22 kB / 0.5115 GB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.265e-05/0.487, allocations: 11.72 kB / 0.5115 GB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.487, allocations: 3.875 kB / 0.5115 GB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.487, allocations: 3.047 kB / 0.5115 GB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.487, allocations: 3.938 kB / 0.5115 GB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.619e-05/0.4871, allocations: 151.7 kB / 0.5116 GB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.4871, allocations: 4 kB / 0.5116 GB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.459e-05/0.4871, allocations: 10.22 kB / 0.5116 GB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4872, allocations: 0 / 0.5116 GB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.4872, allocations: 3.938 kB / 0.5116 GB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4872, allocations: 3.875 kB / 0.5116 GB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4872, allocations: 0 / 0.5116 GB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.4873, allocations: 91.5 kB / 0.5117 GB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.993e-05/0.4873, allocations: 77.11 kB / 0.5118 GB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.4874, allocations: 3.938 kB / 0.5118 GB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.448e-05/0.4874, allocations: 6.578 kB / 0.5118 GB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.045e-06/0.4874, allocations: 0 / 0.5118 GB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.4874, allocations: 4.188 kB / 0.5118 GB, free: 10.96 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.028e-05/0.4874, allocations: 82.19 kB / 0.5119 GB, free: 10.89 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4874, allocations: 3.938 kB / 0.5119 GB, free: 10.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001807/0.4876, allocations: 7.469 kB / 0.5119 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 7.415e-05/0.4877, allocations: 101.3 kB / 0.512 GB, free: 10.79 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.4878, allocations: 21.48 kB / 0.512 GB, free: 10.79 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4878, allocations: 0 / 0.512 GB, free: 10.79 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.4878, allocations: 0 / 0.512 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.0002091/0.488, allocations: 30.3 kB / 0.5121 GB, free: 10.78 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002698/0.4883, allocations: 121.4 kB / 0.5122 GB, free: 10.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.4885, allocations: 0.6848 MB / 0.5128 GB, free: 9.969 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.169e-05/0.4885, allocations: 3.812 kB / 0.5128 GB, free: 9.969 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.905e-05/0.4885, allocations: 7.438 kB / 0.5128 GB, free: 9.965 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4885, allocations: 0 / 0.5128 GB, free: 9.965 MB / 330.7 MB Notification: Performance of Templates: time 0.001819/0.4903, allocations: 285.2 kB / 0.5131 GB, free: 9.848 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_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_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches