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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007852/0.0007852, allocations: 97.41 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000757/0.0007571, allocations: 181.8 kB / 16.96 MB, free: 6.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.219/1.219, allocations: 205.4 MB / 223.1 MB, free: 5.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0633/0.0633, allocations: 12.61 MB / 284 MB, free: 8.824 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006674/0.0006675, allocations: 20 kB / 345.2 MB, free: 20.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07495/0.07563, allocations: 50.4 MB / 395.6 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.001396/0.07707, allocations: 1.149 MB / 396.7 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002082/0.07729, allocations: 91.75 kB / 396.8 MB, free: 1.203 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.764e-05/0.07734, allocations: 0 / 396.8 MB, free: 1.203 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.267e-05/0.07737, allocations: 4 kB / 396.8 MB, free: 1.199 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.108e-05/0.0774, allocations: 3.938 kB / 396.8 MB, free: 1.195 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.07761, allocations: 19.97 kB / 396.8 MB, free: 1.176 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.909e-05/0.07768, allocations: 23.92 kB / 396.8 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.93e-05/0.07777, allocations: 12 kB / 396.9 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.263e-05/0.0778, allocations: 11.92 kB / 396.9 MB, free: 1.129 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.651e-05/0.07783, allocations: 11.92 kB / 396.9 MB, free: 1.117 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.07785, allocations: 0 / 396.9 MB, free: 1.117 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.063e-06/0.07786, allocations: 0 / 396.9 MB, free: 1.117 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.223e-05/0.07787, allocations: 0 / 396.9 MB, free: 1.117 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.589e-05/0.07791, allocations: 41.58 kB / 396.9 MB, free: 1.07 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.764e-05/0.078, allocations: 24.19 kB / 396.9 MB, free: 1.047 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.07801, allocations: 0 / 396.9 MB, free: 1.047 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.07802, allocations: 0 / 396.9 MB, free: 1.047 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.036e-06/0.07802, allocations: 4 kB / 396.9 MB, free: 1.043 MB / 286.1 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.0003212/0.07835, allocations: 331.5 kB / 397.3 MB, free: 0.668 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.07839, allocations: 8.031 kB / 397.3 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.453e-05/0.07842, allocations: 8.844 kB / 397.3 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.07856, allocations: 180.3 kB / 397.5 MB, free: 448 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.07858, allocations: 384 / 397.5 MB, free: 448 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.0786, allocations: 8.375 kB / 397.5 MB, free: 440 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.07883, allocations: 103.9 kB / 397.6 MB, free: 324 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.64e-06/0.07885, allocations: 192 / 397.6 MB, free: 324 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-06/0.07886, allocations: 3.938 kB / 397.6 MB, free: 320 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.07887, allocations: 0 / 397.6 MB, free: 320 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.046e-05/0.07894, allocations: 15.98 kB / 397.6 MB, free: 304 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001049/0.07905, allocations: 161.6 kB / 397.7 MB, free: 92 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.07917, allocations: 58.52 kB / 397.8 MB, free: 24 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.72e-05/0.07923, allocations: 16.86 kB / 397.8 MB, free: 4 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.07925, allocations: 0 / 397.8 MB, free: 4 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.07929, allocations: 34.56 kB / 397.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.0793, allocations: 7.938 kB / 397.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001756/0.07948, allocations: 73.56 kB / 397.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.07952, allocations: 51.41 kB / 398 MB, free: 15.81 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.276e-05/0.07959, allocations: 109.8 kB / 398.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.07961, allocations: 29.7 kB / 398.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.785e-05/0.07964, allocations: 80.14 kB / 398.2 MB, free: 15.58 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.282e-06/0.07965, allocations: 0 / 398.2 MB, free: 15.58 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.012e-05/0.07968, allocations: 21.72 kB / 398.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.381e-05/0.07977, allocations: 314.8 kB / 398.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.778e-06/0.07978, allocations: 0 / 398.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.993e-05/0.07981, allocations: 31.38 kB / 398.6 MB, free: 15.19 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.451e-05/0.07985, allocations: 39.38 kB / 398.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.07986, allocations: 0 / 398.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.582e-05/0.07993, allocations: 53.62 kB / 398.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.07995, allocations: 8 kB / 398.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.07996, allocations: 3.938 kB / 398.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.07998, allocations: 0 / 398.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.97e-05/0.08002, allocations: 7.984 kB / 398.7 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.08003, allocations: 8.062 kB / 398.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.714e-05/0.08006, allocations: 0 / 398.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-06/0.08007, allocations: 4 kB / 398.7 MB, free: 15.05 MB / 302.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.14e-05/0.08013, allocations: 113.8 kB / 398.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.477e-05/0.08022, allocations: 53.59 kB / 398.8 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.522e-05/0.08026, allocations: 11.77 kB / 398.9 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.08026, allocations: 0 / 398.9 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.08028, allocations: 4.25 kB / 398.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.08029, allocations: 7.984 kB / 398.9 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.816e-05/0.08039, allocations: 157.7 kB / 399 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.0804, allocations: 0 / 399 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.745e-05/0.08042, allocations: 4 kB / 399 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.08043, allocations: 0 / 399 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.08044, allocations: 7.875 kB / 399 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.08045, allocations: 4 kB / 399 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.08046, allocations: 0 / 399 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.08058, allocations: 81.11 kB / 399.1 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.051e-05/0.08062, allocations: 85.02 kB / 399.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.08065, allocations: 3.938 kB / 399.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.883e-05/0.08067, allocations: 0 / 399.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-06/0.08068, allocations: 4 kB / 399.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.08069, allocations: 0 / 399.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.803e-05/0.08073, allocations: 83.28 kB / 399.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08074, allocations: 0 / 399.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001736/0.08092, allocations: 7.938 kB / 399.3 MB, free: 14.33 MB / 302.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.442e-05/0.08101, allocations: 99.23 kB / 399.4 MB, free: 14.22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.422e-05/0.0811, allocations: 19.94 kB / 399.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.08111, allocations: 4 kB / 399.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.08112, allocations: 3.938 kB / 399.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.08131, allocations: 24.02 kB / 399.4 MB, free: 14.17 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002106/0.08153, allocations: 120.9 kB / 399.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/0.08175, allocations: 0.6809 MB / 400.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.05e-05/0.08177, allocations: 256 / 400.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.903e-05/0.08179, allocations: 11.44 kB / 400.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.0818, allocations: 0 / 400.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of Templates: time 0.001726/0.08353, allocations: 296.8 kB / 400.5 MB, free: 13.02 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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