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.002239/0.002239, allocations: 179.4 kB / 8.407 MB, free: 0.6719 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.172/2.172, allocations: 205.3 MB / 214.1 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 82.72 kB / 262.2 MB, free: 1.676 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.1084/0.1084, allocations: 12.6 MB / 322.7 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.55e-05/2.559e-05, allocations: 4 kB / 378.9 MB, free: 6.891 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3102, allocations: 50.36 MB / 429.3 MB, free: 18.43 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1362/0.4465, allocations: 76.61 MB / 0.494 GB, free: 5.707 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/0.4469, allocations: 75.95 kB / 0.4941 GB, free: 5.633 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00215/0.449, allocations: 0.676 MB / 0.4948 GB, free: 4.957 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4491, allocations: 0 / 0.4948 GB, free: 4.957 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.4491, allocations: 0 / 0.4948 GB, free: 4.957 MB / 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.0003388/0.4495, allocations: 320 kB / 0.4951 GB, free: 4.602 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.4495, allocations: 12.03 kB / 0.4951 GB, free: 4.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/0.4496, allocations: 4 kB / 0.4951 GB, free: 4.586 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.4498, allocations: 167.1 kB / 0.4952 GB, free: 4.383 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.4498, allocations: 4 kB / 0.4952 GB, free: 4.379 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.4498, allocations: 3.953 kB / 0.4953 GB, free: 4.375 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.456e-05/0.4499, allocations: 19.98 kB / 0.4953 GB, free: 4.355 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.4502, allocations: 91.17 kB / 0.4954 GB, free: 4.254 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.4502, allocations: 7.984 kB / 0.4954 GB, free: 4.246 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.4502, allocations: 0 / 0.4954 GB, free: 4.246 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.4502, allocations: 0 / 0.4954 GB, free: 4.246 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001368/0.4504, allocations: 134.2 kB / 0.4955 GB, free: 4.078 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.4505, allocations: 30.58 kB / 0.4955 GB, free: 4.039 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.863e-05/0.4505, allocations: 16.89 kB / 0.4955 GB, free: 4.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.4506, allocations: 4 kB / 0.4955 GB, free: 4.016 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.4506, allocations: 38.66 kB / 0.4956 GB, free: 3.969 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.492e-06/0.4506, allocations: 0 / 0.4956 GB, free: 3.969 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001481/0.4508, allocations: 49.62 kB / 0.4956 GB, free: 3.914 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.4508, allocations: 51.41 kB / 0.4957 GB, free: 3.852 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.312e-05/0.4509, allocations: 96.98 kB / 0.4958 GB, free: 3.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.451, allocations: 25.7 kB / 0.4958 GB, free: 3.719 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.451, allocations: 158.6 kB / 0.4959 GB, free: 3.562 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.672e-06/0.4511, allocations: 0 / 0.4959 GB, free: 3.562 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.4511, allocations: 4 kB / 0.4959 GB, free: 3.559 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.4512, allocations: 310.8 kB / 0.4962 GB, free: 3.246 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.299e-05/0.4512, allocations: 7.938 kB / 0.4963 GB, free: 3.238 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.546e-05/0.4513, allocations: 23.44 kB / 0.4963 GB, free: 3.203 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.835e-05/0.4513, allocations: 7.984 kB / 0.4963 GB, free: 3.195 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4513, allocations: 7.938 kB / 0.4963 GB, free: 3.188 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.561e-05/0.4514, allocations: 49.64 kB / 0.4963 GB, free: 3.133 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.4515, allocations: 4 kB / 0.4963 GB, free: 3.129 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.4515, allocations: 0 / 0.4963 GB, free: 3.129 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.4515, allocations: 7.953 kB / 0.4963 GB, free: 3.121 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.933e-05/0.4516, allocations: 7.922 kB / 0.4964 GB, free: 3.113 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.4516, allocations: 4 kB / 0.4964 GB, free: 3.109 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.662e-05/0.4516, allocations: 0 / 0.4964 GB, free: 3.109 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.4516, allocations: 4 kB / 0.4964 GB, free: 3.105 MB / 346.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 7.412e-05/0.4517, allocations: 105.1 kB / 0.4965 GB, free: 2.996 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.309e-05/0.4518, allocations: 49.59 kB / 0.4965 GB, free: 2.941 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.4518, allocations: 4.125 kB / 0.4965 GB, free: 2.934 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.4519, allocations: 0 / 0.4965 GB, free: 2.934 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.4519, allocations: 3.953 kB / 0.4965 GB, free: 2.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4519, allocations: 0 / 0.4965 GB, free: 2.93 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.721e-05/0.452, allocations: 138.2 kB / 0.4966 GB, free: 2.758 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.452, allocations: 3.938 kB / 0.4967 GB, free: 2.754 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.252e-05/0.452, allocations: 4 kB / 0.4967 GB, free: 2.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4521, allocations: 4 kB / 0.4967 GB, free: 2.746 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.4521, allocations: 0 / 0.4967 GB, free: 2.746 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4521, allocations: 0 / 0.4967 GB, free: 2.746 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.4521, allocations: 4.234 kB / 0.4967 GB, free: 2.742 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.4522, allocations: 77.25 kB / 0.4967 GB, free: 2.648 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/0.4523, allocations: 81.11 kB / 0.4968 GB, free: 2.551 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.4523, allocations: 4 kB / 0.4968 GB, free: 2.547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.549e-05/0.4524, allocations: 0 / 0.4968 GB, free: 2.547 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-06/0.4524, allocations: 8 kB / 0.4968 GB, free: 2.539 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.4524, allocations: 0 / 0.4968 GB, free: 2.539 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.552e-05/0.4524, allocations: 79.28 kB / 0.4969 GB, free: 2.461 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4525, allocations: 0 / 0.4969 GB, free: 2.461 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002717/0.4527, allocations: 4 kB / 0.4969 GB, free: 2.457 MB / 346.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.0001161/0.4529, allocations: 95.19 kB / 0.497 GB, free: 2.352 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.487e-05/0.453, allocations: 15.98 kB / 0.497 GB, free: 2.336 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.453, allocations: 256 / 0.497 GB, free: 2.336 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.453, allocations: 8 kB / 0.497 GB, free: 2.328 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.4532, allocations: 19.36 kB / 0.497 GB, free: 2.312 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002181/0.4534, allocations: 97.52 kB / 0.4971 GB, free: 2.188 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.4537, allocations: 0.6846 MB / 0.4978 GB, free: 1.477 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/0.4537, allocations: 7.438 kB / 0.4978 GB, free: 1.469 MB / 346.7 MB Notification: Performance of SimCode: time 6.31e-07/0.4537, allocations: 0 / 0.4978 GB, free: 1.469 MB / 346.7 MB Notification: Performance of Templates: time 0.002189/0.4559, allocations: 0.52 MB / 0.4983 GB, free: 0.9453 MB / 346.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