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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001905/0.001905, allocations: 106.3 kB / 16.03 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002061/0.002062, allocations: 187.1 kB / 16.95 MB, free: 6.176 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.783/1.783, allocations: 205.1 MB / 222.8 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08589/0.08589, allocations: 12.58 MB / 282.7 MB, free: 15.63 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.001938/0.001938, allocations: 83.88 kB / 343 MB, free: 3.301 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3144, allocations: 49.38 MB / 392.4 MB, free: 49.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002887/0.3174, allocations: 1.485 MB / 393.8 MB, free: 48.14 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001918/0.3176, allocations: 29.45 kB / 393.9 MB, free: 48.12 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.815e-05/0.3177, allocations: 1.531 kB / 393.9 MB, free: 48.12 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.117e-05/0.3177, allocations: 0.7969 kB / 393.9 MB, free: 48.12 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.386e-05/0.3178, allocations: 3.938 kB / 393.9 MB, free: 48.12 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002533/0.318, allocations: 22 kB / 393.9 MB, free: 48.11 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.541e-05/0.3181, allocations: 29.72 kB / 393.9 MB, free: 48.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.3183, allocations: 15.38 kB / 393.9 MB, free: 48.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.114e-05/0.3183, allocations: 13.34 kB / 394 MB, free: 48.08 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.539e-05/0.3184, allocations: 13.44 kB / 394 MB, free: 48.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.3184, allocations: 2.656 kB / 394 MB, free: 48.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.07e-05/0.3184, allocations: 2.906 kB / 394 MB, free: 48.07 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.271e-05/0.3185, allocations: 6.547 kB / 394 MB, free: 48.07 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.361e-05/0.3185, allocations: 15.91 kB / 394 MB, free: 48.05 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.446e-05/0.3186, allocations: 21.23 kB / 394 MB, free: 48.05 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3186, allocations: 2.203 kB / 394 MB, free: 48.05 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3186, allocations: 3.938 kB / 394 MB, free: 48.04 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.3186, allocations: 4 kB / 394 MB, free: 48.04 MB / 318.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.0003612/0.319, allocations: 341.7 kB / 394.4 MB, free: 47.68 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.319, allocations: 9.75 kB / 394.4 MB, free: 47.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.3191, allocations: 6.891 kB / 394.4 MB, free: 47.67 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.3192, allocations: 173.9 kB / 394.5 MB, free: 47.47 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.3192, allocations: 5.156 kB / 394.6 MB, free: 47.47 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.3193, allocations: 2.438 kB / 394.6 MB, free: 47.47 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003261/0.3196, allocations: 123.5 kB / 394.7 MB, free: 47.39 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.3196, allocations: 192 / 394.7 MB, free: 47.39 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.3196, allocations: 8.984 kB / 394.7 MB, free: 47.38 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3196, allocations: 0.6562 kB / 394.7 MB, free: 47.38 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.3197, allocations: 21.83 kB / 394.7 MB, free: 47.38 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001129/0.3199, allocations: 155.1 kB / 394.9 MB, free: 47.19 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.32, allocations: 49.69 kB / 394.9 MB, free: 47.16 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.137e-05/0.3201, allocations: 28.78 kB / 394.9 MB, free: 47.14 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.335e-06/0.3201, allocations: 0 / 394.9 MB, free: 47.14 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.3201, allocations: 36.55 kB / 395 MB, free: 47.1 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.3201, allocations: 0 / 395 MB, free: 47.1 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002514/0.3204, allocations: 78.31 kB / 395 MB, free: 47.05 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.3204, allocations: 54.45 kB / 395.1 MB, free: 46.99 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.587e-05/0.3205, allocations: 103.1 kB / 395.2 MB, free: 46.89 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.3205, allocations: 30.36 kB / 395.2 MB, free: 46.85 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.142e-05/0.3206, allocations: 85.3 kB / 395.3 MB, free: 46.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.434e-05/0.3206, allocations: 2.453 kB / 395.3 MB, free: 46.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/0.3206, allocations: 18.8 kB / 395.3 MB, free: 46.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.309e-05/0.3207, allocations: 314 kB / 395.6 MB, free: 46.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.662e-05/0.3207, allocations: 8.047 kB / 395.7 MB, free: 46.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.539e-05/0.3207, allocations: 34.33 kB / 395.7 MB, free: 46.39 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.018e-05/0.3208, allocations: 48.16 kB / 395.7 MB, free: 46.34 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3208, allocations: 1.25 kB / 395.7 MB, free: 46.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.256e-05/0.3208, allocations: 66.64 kB / 395.8 MB, free: 46.29 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3209, allocations: 10.2 kB / 395.8 MB, free: 46.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3209, allocations: 5.406 kB / 395.8 MB, free: 46.28 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3209, allocations: 0.5625 kB / 395.8 MB, free: 46.28 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.481e-05/0.321, allocations: 4.734 kB / 395.8 MB, free: 46.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.321, allocations: 1.969 kB / 395.8 MB, free: 46.28 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.845e-05/0.321, allocations: 2.375 kB / 395.8 MB, free: 46.28 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.321, allocations: 1.312 kB / 395.8 MB, free: 46.28 MB / 318.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: 5 ($CLKPRE.step.counter,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.796e-05/0.3211, allocations: 119.1 kB / 395.9 MB, free: 46.16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.3212, allocations: 59.84 kB / 396 MB, free: 46.12 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.466e-05/0.3212, allocations: 13.56 kB / 396 MB, free: 46.11 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3212, allocations: 1.031 kB / 396 MB, free: 46.11 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3212, allocations: 0 / 396 MB, free: 46.11 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3213, allocations: 1.062 kB / 396 MB, free: 46.11 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.918e-05/0.3213, allocations: 155 kB / 396.2 MB, free: 45.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3213, allocations: 0 / 396.2 MB, free: 45.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.086e-05/0.3214, allocations: 4.562 kB / 396.2 MB, free: 45.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3214, allocations: 0.9062 kB / 396.2 MB, free: 45.91 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.3214, allocations: 5.625 kB / 396.2 MB, free: 45.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3214, allocations: 0 / 396.2 MB, free: 45.91 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.3214, allocations: 1.531 kB / 396.2 MB, free: 45.91 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.3215, allocations: 99.3 kB / 396.3 MB, free: 45.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.841e-05/0.3216, allocations: 79.31 kB / 396.4 MB, free: 45.73 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.3216, allocations: 9 kB / 396.4 MB, free: 45.72 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.742e-05/0.3216, allocations: 2.891 kB / 396.4 MB, free: 45.72 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-06/0.3216, allocations: 1.625 kB / 396.4 MB, free: 45.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.3216, allocations: 0.875 kB / 396.4 MB, free: 45.72 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.337e-05/0.3217, allocations: 80.44 kB / 396.4 MB, free: 45.65 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.02e-07/0.3217, allocations: 5.219 kB / 396.4 MB, free: 45.64 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001792/0.3219, allocations: 11.64 kB / 396.5 MB, free: 45.64 MB / 318.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: 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 7.632e-05/0.3219, allocations: 97.91 kB / 396.6 MB, free: 45.55 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001242/0.3221, allocations: 29.58 kB / 396.6 MB, free: 45.54 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3221, allocations: 0 / 396.6 MB, free: 45.54 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.3221, allocations: 0.6562 kB / 396.6 MB, free: 45.54 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.3223, allocations: 26.03 kB / 396.6 MB, free: 45.53 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002878/0.3226, allocations: 133.5 kB / 396.7 MB, free: 45.4 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.3228, allocations: 0.6875 MB / 397.4 MB, free: 44.7 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.524e-05/0.3228, allocations: 0.75 kB / 397.4 MB, free: 44.7 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.3228, allocations: 12.05 kB / 397.4 MB, free: 44.69 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3228, allocations: 0 / 397.4 MB, free: 44.69 MB / 318.1 MB Notification: Performance of Templates: time 0.002353/0.3252, allocations: 373.6 kB / 397.8 MB, free: 44.63 MB / 318.1 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/jenkins/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