Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009361/0.0009361, allocations: 172.9 kB / 16.8 MB, free: 5.012 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.349/1.349, allocations: 205.4 MB / 223 MB, free: 9.012 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.0007422/0.0007422, allocations: 89.48 kB / 271.3 MB, free: 8.242 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.07548/0.07548, allocations: 12.6 MB / 332.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003601, allocations: 12 kB / 393.3 MB, free: 65.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07918/0.07955, allocations: 50.38 MB / 443.7 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.001515/0.08113, allocations: 1.133 MB / 444.8 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001643/0.08131, allocations: 31.91 kB / 444.9 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.798e-05/0.08138, allocations: 3.938 kB / 444.9 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.137e-05/0.08141, allocations: 0 / 444.9 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.882e-05/0.08146, allocations: 0 / 444.9 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.0817, allocations: 27.97 kB / 444.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.842e-05/0.08178, allocations: 23.94 kB / 444.9 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.567e-05/0.08188, allocations: 11.98 kB / 444.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.23e-05/0.08192, allocations: 11.94 kB / 444.9 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.168e-05/0.08197, allocations: 11.91 kB / 444.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.08199, allocations: 4 kB / 445 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.027e-06/0.08201, allocations: 0 / 445 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.08203, allocations: 4 kB / 445 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.714e-05/0.08207, allocations: 41.52 kB / 445 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.503e-05/0.08213, allocations: 15.97 kB / 445 MB, free: 14.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.08214, allocations: 0 / 445 MB, free: 14.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.08215, allocations: 0 / 445 MB, free: 14.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.08216, allocations: 4 kB / 445 MB, free: 14.08 MB / 298.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.0003247/0.08249, allocations: 339.7 kB / 445.3 MB, free: 13.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.08253, allocations: 8.031 kB / 445.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.972e-05/0.08256, allocations: 8.844 kB / 445.4 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.0827, allocations: 172.3 kB / 445.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.08273, allocations: 4.359 kB / 445.5 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.08275, allocations: 8.375 kB / 445.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.08304, allocations: 119.8 kB / 445.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.08306, allocations: 192 / 445.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.08308, allocations: 3.938 kB / 445.7 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.08308, allocations: 0 / 445.7 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.524e-05/0.08319, allocations: 23.97 kB / 445.7 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001029/0.0833, allocations: 157.7 kB / 445.8 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.08342, allocations: 54.48 kB / 445.9 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.08e-05/0.08349, allocations: 32.91 kB / 445.9 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-06/0.08351, allocations: 0 / 445.9 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.08353, allocations: 34.56 kB / 446 MB, free: 12.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.08354, allocations: 0 / 446 MB, free: 12.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002407/0.08378, allocations: 81.45 kB / 446 MB, free: 12.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.08384, allocations: 55.41 kB / 446.1 MB, free: 12.81 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.661e-05/0.08391, allocations: 101.8 kB / 446.2 MB, free: 12.7 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.08393, allocations: 29.7 kB / 446.2 MB, free: 12.67 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.43e-05/0.08396, allocations: 88.14 kB / 446.3 MB, free: 12.58 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.08398, allocations: 7.922 kB / 446.3 MB, free: 12.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-06/0.08399, allocations: 0 / 446.3 MB, free: 12.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.353e-05/0.08405, allocations: 314.8 kB / 446.6 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.121e-05/0.08406, allocations: 4 kB / 446.6 MB, free: 12.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.429e-05/0.0841, allocations: 27.44 kB / 446.7 MB, free: 12.21 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.611e-05/0.08415, allocations: 43.36 kB / 446.7 MB, free: 12.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.08415, allocations: 0 / 446.7 MB, free: 12.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.558e-05/0.08423, allocations: 61.53 kB / 446.8 MB, free: 12.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.08425, allocations: 4 kB / 446.8 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.08426, allocations: 12.06 kB / 446.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.08428, allocations: 0 / 446.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.954e-05/0.08433, allocations: 7.938 kB / 446.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.08434, allocations: 0 / 446.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.013e-05/0.08437, allocations: 8 kB / 446.8 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-06/0.08438, allocations: 0 / 446.8 MB, free: 12.06 MB / 298.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: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.102e-05/0.08443, allocations: 118.6 kB / 446.9 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.08455, allocations: 61.67 kB / 447 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.252e-05/0.08458, allocations: 11.38 kB / 447 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.08459, allocations: 8 kB / 447 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.0846, allocations: 384 / 447 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-06/0.0846, allocations: 0 / 447 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.319e-05/0.08466, allocations: 157.7 kB / 447.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.08467, allocations: 4 kB / 447.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.952e-05/0.0847, allocations: 8 kB / 447.2 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.08471, allocations: 0 / 447.2 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.08472, allocations: 3.938 kB / 447.2 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.08473, allocations: 0 / 447.2 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.08474, allocations: 3.984 kB / 447.2 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.08486, allocations: 93.02 kB / 447.3 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.516e-05/0.08489, allocations: 77.11 kB / 447.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.08491, allocations: 7.938 kB / 447.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.538e-05/0.08494, allocations: 3.938 kB / 447.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-06/0.08495, allocations: 0 / 447.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.08496, allocations: 4 kB / 447.3 MB, free: 11.4 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.395e-05/0.08499, allocations: 91.2 kB / 447.4 MB, free: 11.31 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08499, allocations: 0 / 447.4 MB, free: 11.31 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001724/0.08517, allocations: 8 kB / 447.4 MB, free: 11.3 MB / 298.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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.873e-05/0.08525, allocations: 91.25 kB / 447.5 MB, free: 11.21 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001069/0.08536, allocations: 23.98 kB / 447.6 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.08537, allocations: 4 kB / 447.6 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.08538, allocations: 3.938 kB / 447.6 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.0856, allocations: 28.27 kB / 447.6 MB, free: 11.15 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000246/0.08586, allocations: 146.8 kB / 447.7 MB, free: 10.97 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.08597, allocations: 0.6809 MB / 448.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.119e-05/0.086, allocations: 11.44 kB / 448.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of SimCode: time 4.41e-07/0.086, allocations: 0 / 448.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of Templates: time 0.001551/0.08756, allocations: 0.586 MB / 449 MB, free: 9.664 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches