Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_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_cpp_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.001581/0.001581, allocations: 186.8 kB / 13.7 MB, free: 1.625 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.088/2.088, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001126/0.001125, allocations: 90.64 kB / 267.6 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1201/0.1201, allocations: 12.6 MB / 328.2 MB, free: 11.17 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.374e-05/3.385e-05, allocations: 4 kB / 386 MB, free: 1.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3111, allocations: 50.37 MB / 436.3 MB, free: 14.16 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1317/0.4428, allocations: 77.29 MB / 0.5016 GB, free: 0.7695 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/0.4431, allocations: 71.95 kB / 0.5017 GB, free: 0.6992 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001968/0.4451, allocations: 0.6716 MB / 0.5023 GB, free: 28 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4451, allocations: 0 / 0.5023 GB, free: 28 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.4452, allocations: 0 / 0.5023 GB, free: 28 kB / 346.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.0004018/0.4456, allocations: 328 kB / 0.5026 GB, free: 15.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.4457, allocations: 12.03 kB / 0.5026 GB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.4457, allocations: 0 / 0.5026 GB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.4459, allocations: 171.1 kB / 0.5028 GB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.446, allocations: 0 / 0.5028 GB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.446, allocations: 7.953 kB / 0.5028 GB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002862/0.4463, allocations: 99.17 kB / 0.5029 GB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.4463, allocations: 4 kB / 0.5029 GB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.4464, allocations: 0 / 0.5029 GB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.4464, allocations: 0 / 0.5029 GB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.19e-05/0.4464, allocations: 8 kB / 0.5029 GB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001735/0.4466, allocations: 157.7 kB / 0.5031 GB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.4468, allocations: 38.58 kB / 0.5031 GB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.598e-05/0.4468, allocations: 20.88 kB / 0.5031 GB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.071e-05/0.4469, allocations: 11.89 kB / 0.5031 GB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.4469, allocations: 38.69 kB / 0.5032 GB, free: 14.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.4469, allocations: 0 / 0.5032 GB, free: 14.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001567/0.4471, allocations: 41.7 kB / 0.5032 GB, free: 14.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.4472, allocations: 51.41 kB / 0.5033 GB, free: 14.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.669e-05/0.4473, allocations: 101 kB / 0.5034 GB, free: 14.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.4473, allocations: 29.64 kB / 0.5034 GB, free: 14.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.669e-05/0.4474, allocations: 158.5 kB / 0.5035 GB, free: 14.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.124e-06/0.4474, allocations: 4 kB / 0.5035 GB, free: 14.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-06/0.4474, allocations: 0 / 0.5035 GB, free: 14.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.4476, allocations: 314.8 kB / 0.5038 GB, free: 14.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.302e-05/0.4476, allocations: 0 / 0.5038 GB, free: 14.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.159e-05/0.4477, allocations: 31.38 kB / 0.5039 GB, free: 14.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.107e-05/0.4477, allocations: 11.98 kB / 0.5039 GB, free: 14.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4477, allocations: 7.938 kB / 0.5039 GB, free: 14.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000113/0.4478, allocations: 49.62 kB / 0.5039 GB, free: 14.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.4479, allocations: 11.95 kB / 0.5039 GB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.4479, allocations: 0 / 0.5039 GB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.4479, allocations: 0 / 0.5039 GB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.574e-05/0.448, allocations: 4 kB / 0.5039 GB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.448, allocations: 3.938 kB / 0.504 GB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.301e-05/0.448, allocations: 8.125 kB / 0.504 GB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.4481, allocations: 4 kB / 0.504 GB, free: 14.11 MB / 362.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 () * 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 9.307e-05/0.4482, allocations: 109 kB / 0.5041 GB, free: 14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.4483, allocations: 53.59 kB / 0.5041 GB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.736e-05/0.4483, allocations: 11.45 kB / 0.5041 GB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.4483, allocations: 0 / 0.5041 GB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4483, allocations: 0 / 0.5041 GB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.4484, allocations: 4 kB / 0.5041 GB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.4485, allocations: 157.6 kB / 0.5043 GB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4485, allocations: 4 kB / 0.5043 GB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.045e-05/0.4486, allocations: 7.938 kB / 0.5043 GB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4486, allocations: 0 / 0.5043 GB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.4486, allocations: 0 / 0.5043 GB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.4486, allocations: 3.953 kB / 0.5043 GB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.4486, allocations: 4 kB / 0.5043 GB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.4487, allocations: 69.12 kB / 0.5044 GB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/0.4488, allocations: 81.11 kB / 0.5044 GB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.4488, allocations: 0 / 0.5044 GB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.062e-05/0.4489, allocations: 4 kB / 0.5044 GB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.492e-06/0.4489, allocations: 3.953 kB / 0.5045 GB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.4489, allocations: 4 kB / 0.5045 GB, free: 13.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.694e-05/0.449, allocations: 83.27 kB / 0.5045 GB, free: 13.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.449, allocations: 0 / 0.5045 GB, free: 13.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002315/0.4492, allocations: 8 kB / 0.5045 GB, free: 13.41 MB / 362.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 () * 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.0001214/0.4494, allocations: 91.25 kB / 0.5046 GB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001025/0.4495, allocations: 24.23 kB / 0.5047 GB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4495, allocations: 0 / 0.5047 GB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.4495, allocations: 3.938 kB / 0.5047 GB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.4497, allocations: 15.94 kB / 0.5047 GB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000221/0.4499, allocations: 102.7 kB / 0.5048 GB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.4503, allocations: 0.6887 MB / 0.5054 GB, free: 12.42 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.505e-05/0.4503, allocations: 7.438 kB / 0.5055 GB, free: 12.41 MB / 362.7 MB Notification: Performance of SimCode: time 8.51e-07/0.4503, allocations: 0 / 0.5055 GB, free: 12.41 MB / 362.7 MB Notification: Performance of Templates: time 0.002197/0.4525, allocations: 0.523 MB / 0.506 GB, free: 11.89 MB / 362.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches