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.001155/0.001155, allocations: 182.3 kB / 13.23 MB, free: 2.086 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.497/1.497, allocations: 205.2 MB / 219 MB, free: 9.207 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.0008452/0.0008451, allocations: 88.27 kB / 267.1 MB, free: 9.277 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.07037/0.07037, allocations: 12.58 MB / 327.7 MB, free: 12.5 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.535e-05/3.553e-05, allocations: 0 / 386 MB, free: 69.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1023, allocations: 50.37 MB / 436.4 MB, free: 19.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3306/0.433, allocations: 77.28 MB / 0.5016 GB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001858/0.4332, allocations: 75.59 kB / 0.5017 GB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001268/0.4345, allocations: 0.6698 MB / 0.5023 GB, free: 11.51 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4345, allocations: 0 / 0.5023 GB, free: 11.51 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.4346, allocations: 0 / 0.5023 GB, free: 11.51 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.0001895/0.4348, allocations: 329 kB / 0.5026 GB, free: 11.17 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.4348, allocations: 8.672 kB / 0.5027 GB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.575e-05/0.4348, allocations: 6.469 kB / 0.5027 GB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.435, allocations: 168.9 kB / 0.5028 GB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.435, allocations: 3.938 kB / 0.5028 GB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.435, allocations: 11.17 kB / 0.5028 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.4352, allocations: 94.59 kB / 0.5029 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.4352, allocations: 0 / 0.5029 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.4352, allocations: 7.562 kB / 0.5029 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.4352, allocations: 0 / 0.5029 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.256e-05/0.4353, allocations: 9.641 kB / 0.5029 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.784e-05/0.4354, allocations: 154.3 kB / 0.5031 GB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.017e-05/0.4354, allocations: 39.39 kB / 0.5031 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.881e-05/0.4355, allocations: 24.27 kB / 0.5031 GB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.4355, allocations: 7.422 kB / 0.5032 GB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.162e-05/0.4355, allocations: 30.56 kB / 0.5032 GB, free: 10.64 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.4355, allocations: 3.938 kB / 0.5032 GB, free: 10.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001043/0.4356, allocations: 50.42 kB / 0.5032 GB, free: 10.6 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.4357, allocations: 51.41 kB / 0.5033 GB, free: 10.54 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.811e-05/0.4357, allocations: 94.59 kB / 0.5034 GB, free: 10.45 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.294e-06/0.4357, allocations: 33.55 kB / 0.5034 GB, free: 10.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.602e-05/0.4357, allocations: 83.77 kB / 0.5035 GB, free: 10.33 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.388e-06/0.4358, allocations: 0 / 0.5035 GB, free: 10.33 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-06/0.4358, allocations: 0 / 0.5035 GB, free: 10.33 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.751e-05/0.4358, allocations: 316.2 kB / 0.5038 GB, free: 10.02 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.888e-06/0.4358, allocations: 7.781 kB / 0.5038 GB, free: 10.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.647e-05/0.4358, allocations: 27.19 kB / 0.5038 GB, free: 9.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.633e-05/0.4359, allocations: 14.11 kB / 0.5038 GB, free: 9.977 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4359, allocations: 0 / 0.5038 GB, free: 9.977 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.609e-05/0.4359, allocations: 54.19 kB / 0.5039 GB, free: 9.941 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.4359, allocations: 7.828 kB / 0.5039 GB, free: 9.938 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.436, allocations: 0 / 0.5039 GB, free: 9.938 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.436, allocations: 7.969 kB / 0.5039 GB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.92e-05/0.436, allocations: 6.516 kB / 0.5039 GB, free: 9.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.436, allocations: 3.844 kB / 0.5039 GB, free: 9.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/0.4361, allocations: 3.906 kB / 0.5039 GB, free: 9.926 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-06/0.4361, allocations: 3.844 kB / 0.5039 GB, free: 9.926 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 () * 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 4.489e-05/0.4361, allocations: 108.2 kB / 0.504 GB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-05/0.4362, allocations: 51.2 kB / 0.5041 GB, free: 9.781 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.022e-05/0.4362, allocations: 13.86 kB / 0.5041 GB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.4362, allocations: 0 / 0.5041 GB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-06/0.4362, allocations: 4 kB / 0.5041 GB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.4362, allocations: 0 / 0.5041 GB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.611e-05/0.4363, allocations: 157.9 kB / 0.5042 GB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.4363, allocations: 0 / 0.5042 GB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.848e-05/0.4363, allocations: 7.781 kB / 0.5042 GB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.4363, allocations: 0 / 0.5042 GB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.4363, allocations: 0 / 0.5042 GB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.68e-05/0.4364, allocations: 4.828 kB / 0.5043 GB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4364, allocations: 0 / 0.5043 GB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.896e-05/0.4364, allocations: 77.78 kB / 0.5043 GB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.182e-05/0.4365, allocations: 81.02 kB / 0.5044 GB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.4365, allocations: 3.875 kB / 0.5044 GB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.497e-05/0.4365, allocations: 0 / 0.5044 GB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-06/0.4365, allocations: 3.953 kB / 0.5044 GB, free: 9.398 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.4365, allocations: 256 / 0.5044 GB, free: 9.398 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.746e-05/0.4366, allocations: 93.64 kB / 0.5045 GB, free: 9.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4366, allocations: 0 / 0.5045 GB, free: 9.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001724/0.4368, allocations: 7.688 kB / 0.5045 GB, free: 9.316 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 () * 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.283e-05/0.4368, allocations: 98.53 kB / 0.5046 GB, free: 9.219 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.059e-05/0.4369, allocations: 18.44 kB / 0.5046 GB, free: 9.219 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4369, allocations: 0 / 0.5046 GB, free: 9.219 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.4369, allocations: 3.938 kB / 0.5046 GB, free: 9.215 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.4371, allocations: 23.97 kB / 0.5046 GB, free: 9.211 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001587/0.4373, allocations: 63.95 kB / 0.5047 GB, free: 9.145 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.4374, allocations: 0.6825 MB / 0.5054 GB, free: 8.449 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.41e-05/0.4374, allocations: 11.78 kB / 0.5054 GB, free: 8.441 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.86e-05/0.4375, allocations: 7.438 kB / 0.5054 GB, free: 8.434 MB / 330.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4375, allocations: 0 / 0.5054 GB, free: 8.434 MB / 330.7 MB Notification: Performance of Templates: time 0.001867/0.4393, allocations: 281.1 kB / 0.5057 GB, free: 8.387 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/jenkins/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