Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_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_cpp_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.001566/0.001565, allocations: 187.1 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.065/2.065, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001123/0.001122, allocations: 74.73 kB / 267.5 MB, free: 14.12 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.1027/0.1027, allocations: 12.6 MB / 328.2 MB, free: 11.17 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.864e-05/3.874e-05, allocations: 4 kB / 386 MB, free: 1.309 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3167, allocations: 50.37 MB / 436.3 MB, free: 14.16 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1393/0.4561, allocations: 77.29 MB / 0.5016 GB, free: 0.7695 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/0.4564, allocations: 75.95 kB / 0.5017 GB, free: 0.6953 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002225/0.4586, allocations: 0.6955 MB / 0.5023 GB, free: 0 / 346.7 MB Notification: Performance of FrontEnd: time 2.579e-05/0.4587, allocations: 64 / 0.5023 GB, free: 16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.4587, allocations: 0 / 0.5023 GB, free: 16 MB / 362.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.0003635/0.4591, allocations: 339.9 kB / 0.5027 GB, free: 15.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.4591, allocations: 12.03 kB / 0.5027 GB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.881e-05/0.4592, allocations: 0 / 0.5027 GB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.4594, allocations: 178.8 kB / 0.5028 GB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.4594, allocations: 11.95 kB / 0.5029 GB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.4594, allocations: 0 / 0.5029 GB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.4597, allocations: 87.34 kB / 0.5029 GB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.4598, allocations: 4 kB / 0.5029 GB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.4598, allocations: 3.984 kB / 0.503 GB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.4598, allocations: 0 / 0.503 GB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.981e-05/0.4598, allocations: 8 kB / 0.503 GB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002113/0.4601, allocations: 153.7 kB / 0.5031 GB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.4602, allocations: 50.55 kB / 0.5032 GB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.529e-05/0.4603, allocations: 20.84 kB / 0.5032 GB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.4603, allocations: 4 kB / 0.5032 GB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.4604, allocations: 30.56 kB / 0.5032 GB, free: 14.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.4604, allocations: 0 / 0.5032 GB, free: 14.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.00017/0.4605, allocations: 49.78 kB / 0.5033 GB, free: 14.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.4606, allocations: 51.41 kB / 0.5033 GB, free: 14.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.4607, allocations: 105 kB / 0.5034 GB, free: 14.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.4608, allocations: 25.7 kB / 0.5034 GB, free: 14.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.846e-05/0.4608, allocations: 150.6 kB / 0.5036 GB, free: 14.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.578e-06/0.4609, allocations: 8 kB / 0.5036 GB, free: 14.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-06/0.4609, allocations: 0 / 0.5036 GB, free: 14.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.461, allocations: 322.7 kB / 0.5039 GB, free: 14.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.552e-05/0.461, allocations: 4 kB / 0.5039 GB, free: 14.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.207e-05/0.4611, allocations: 31.47 kB / 0.5039 GB, free: 14.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.523e-05/0.4611, allocations: 8 kB / 0.5039 GB, free: 14.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4611, allocations: 0 / 0.5039 GB, free: 14.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001178/0.4613, allocations: 57.53 kB / 0.504 GB, free: 14.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.4613, allocations: 7.953 kB / 0.504 GB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.4613, allocations: 0 / 0.504 GB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.4613, allocations: 8.125 kB / 0.504 GB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.532e-05/0.4614, allocations: 11.88 kB / 0.504 GB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.4614, allocations: 0 / 0.504 GB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.824e-05/0.4615, allocations: 4 kB / 0.504 GB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.4615, allocations: 0 / 0.504 GB, free: 14.06 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 8.75e-05/0.4616, allocations: 116.8 kB / 0.5041 GB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.574e-05/0.4617, allocations: 41.7 kB / 0.5042 GB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.101e-05/0.4617, allocations: 11.97 kB / 0.5042 GB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.4618, allocations: 4 kB / 0.5042 GB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4618, allocations: 4 kB / 0.5042 GB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.4618, allocations: 0 / 0.5042 GB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.4619, allocations: 161.5 kB / 0.5043 GB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4619, allocations: 0 / 0.5043 GB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.462, allocations: 11.98 kB / 0.5043 GB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.4621, allocations: 0 / 0.5043 GB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.4621, allocations: 4 kB / 0.5044 GB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.4621, allocations: 3.953 kB / 0.5044 GB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4621, allocations: 0 / 0.5044 GB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.4622, allocations: 77.03 kB / 0.5044 GB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.4623, allocations: 77.11 kB / 0.5045 GB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.4623, allocations: 4 kB / 0.5045 GB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.347e-05/0.4624, allocations: 4 kB / 0.5045 GB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.909e-06/0.4624, allocations: 3.953 kB / 0.5045 GB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.4624, allocations: 4 kB / 0.5045 GB, free: 13.44 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.582e-05/0.4625, allocations: 87.52 kB / 0.5046 GB, free: 13.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4625, allocations: 0 / 0.5046 GB, free: 13.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002315/0.4627, allocations: 12 kB / 0.5046 GB, free: 13.34 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.0001171/0.4629, allocations: 95.19 kB / 0.5047 GB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.851e-05/0.463, allocations: 19.94 kB / 0.5047 GB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.463, allocations: 0 / 0.5047 GB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.463, allocations: 0 / 0.5047 GB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.4632, allocations: 23.91 kB / 0.5047 GB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002288/0.4634, allocations: 94.62 kB / 0.5048 GB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.4637, allocations: 0.689 MB / 0.5055 GB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.55e-05/0.4638, allocations: 7.438 kB / 0.5055 GB, free: 12.36 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/0.4638, allocations: 0 / 0.5055 GB, free: 12.36 MB / 362.7 MB Notification: Performance of Templates: time 0.002176/0.466, allocations: 0.5347 MB / 0.506 GB, free: 11.82 MB / 362.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches