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.001178/0.001179, allocations: 105.1 kB / 16.31 MB, free: 6.391 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.001157/0.001157, allocations: 190.5 kB / 17.24 MB, free: 5.922 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.731/1.731, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.08251/0.08251, allocations: 12.59 MB / 283.1 MB, free: 15.48 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.003086/0.003086, allocations: 87.86 kB / 343.5 MB, free: 2.945 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3304, allocations: 49.38 MB / 392.9 MB, free: 49.19 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.003554/0.3341, allocations: 1.424 MB / 394.3 MB, free: 48.21 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003449/0.3345, allocations: 99.73 kB / 394.4 MB, free: 48.14 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.882e-05/0.3346, allocations: 1.344 kB / 394.4 MB, free: 48.14 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.961e-05/0.3346, allocations: 5.359 kB / 394.4 MB, free: 48.14 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.391e-05/0.3347, allocations: 5.094 kB / 394.4 MB, free: 48.14 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.335, allocations: 21.59 kB / 394.4 MB, free: 48.12 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.3351, allocations: 25.45 kB / 394.5 MB, free: 48.11 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.3352, allocations: 10.11 kB / 394.5 MB, free: 48.11 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.816e-05/0.3353, allocations: 9.531 kB / 394.5 MB, free: 48.11 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.004e-05/0.3353, allocations: 12.33 kB / 394.5 MB, free: 48.1 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.3353, allocations: 2.281 kB / 394.5 MB, free: 48.1 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.168e-05/0.3354, allocations: 2.188 kB / 394.5 MB, free: 48.1 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.509e-05/0.3354, allocations: 10.42 kB / 394.5 MB, free: 48.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.243e-05/0.3354, allocations: 19.66 kB / 394.5 MB, free: 48.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.436e-05/0.3355, allocations: 26.97 kB / 394.6 MB, free: 48.06 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.3355, allocations: 0.7031 kB / 394.6 MB, free: 48.06 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.3356, allocations: 0 / 394.6 MB, free: 48.06 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.832e-06/0.3356, allocations: 1.125 kB / 394.6 MB, free: 48.06 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.0004804/0.3361, allocations: 335.9 kB / 394.9 MB, free: 47.7 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.3361, allocations: 8.312 kB / 394.9 MB, free: 47.7 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.3361, allocations: 6.969 kB / 394.9 MB, free: 47.7 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.3363, allocations: 174.5 kB / 395.1 MB, free: 47.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.3363, allocations: 4.375 kB / 395.1 MB, free: 47.49 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.3364, allocations: 2.938 kB / 395.1 MB, free: 47.49 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.3367, allocations: 102.6 kB / 395.2 MB, free: 47.42 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.3367, allocations: 4.781 kB / 395.2 MB, free: 47.42 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.3367, allocations: 5.312 kB / 395.2 MB, free: 47.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3367, allocations: 0 / 395.2 MB, free: 47.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.081e-05/0.3368, allocations: 23.3 kB / 395.2 MB, free: 47.4 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001447/0.3369, allocations: 159.2 kB / 395.4 MB, free: 47.21 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.3371, allocations: 47.5 kB / 395.4 MB, free: 47.18 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.734e-05/0.3371, allocations: 17.8 kB / 395.4 MB, free: 47.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.3371, allocations: 1.609 kB / 395.4 MB, free: 47.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.3372, allocations: 40.47 kB / 395.5 MB, free: 47.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3372, allocations: 0 / 395.5 MB, free: 47.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002081/0.3374, allocations: 64.08 kB / 395.5 MB, free: 47.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.3374, allocations: 58.58 kB / 395.6 MB, free: 47.01 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.541e-05/0.3375, allocations: 102.1 kB / 395.7 MB, free: 46.91 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.3376, allocations: 26.92 kB / 395.7 MB, free: 46.88 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.214e-05/0.3376, allocations: 85.92 kB / 395.8 MB, free: 46.79 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.131e-05/0.3376, allocations: 0.6094 kB / 395.8 MB, free: 46.79 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.3377, allocations: 22.5 kB / 395.8 MB, free: 46.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.601e-05/0.3377, allocations: 313.5 kB / 396.1 MB, free: 46.45 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.682e-05/0.3378, allocations: 3.531 kB / 396.1 MB, free: 46.45 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.986e-05/0.3378, allocations: 32.05 kB / 396.2 MB, free: 46.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.145e-05/0.3378, allocations: 39.02 kB / 396.2 MB, free: 46.37 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3379, allocations: 1.156 kB / 396.2 MB, free: 46.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.232e-05/0.3379, allocations: 55.48 kB / 396.3 MB, free: 46.33 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.338, allocations: 5.5 kB / 396.3 MB, free: 46.33 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.338, allocations: 5.719 kB / 396.3 MB, free: 46.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.338, allocations: 1.094 kB / 396.3 MB, free: 46.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.322e-05/0.3381, allocations: 4.266 kB / 396.3 MB, free: 46.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3381, allocations: 5.25 kB / 396.3 MB, free: 46.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.237e-05/0.3381, allocations: 5.719 kB / 396.3 MB, free: 46.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.3381, allocations: 6.266 kB / 396.3 MB, free: 46.31 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: 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 7.833e-05/0.3382, allocations: 114 kB / 396.4 MB, free: 46.2 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.571e-05/0.3383, allocations: 56.17 kB / 396.5 MB, free: 46.15 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.059e-05/0.3383, allocations: 13.08 kB / 396.5 MB, free: 46.14 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3383, allocations: 1.688 kB / 396.5 MB, free: 46.14 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3384, allocations: 0 / 396.5 MB, free: 46.14 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3384, allocations: 5.781 kB / 396.5 MB, free: 46.13 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.87e-05/0.3384, allocations: 158.2 kB / 396.6 MB, free: 45.94 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3384, allocations: 0 / 396.6 MB, free: 45.94 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.949e-05/0.3385, allocations: 3.141 kB / 396.6 MB, free: 45.94 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3385, allocations: 1.125 kB / 396.6 MB, free: 45.94 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.3385, allocations: 3.938 kB / 396.6 MB, free: 45.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3385, allocations: 1.094 kB / 396.6 MB, free: 45.93 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3385, allocations: 0.6562 kB / 396.6 MB, free: 45.93 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.3386, allocations: 84.25 kB / 396.7 MB, free: 45.86 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.469e-05/0.3387, allocations: 87.36 kB / 396.8 MB, free: 45.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.3387, allocations: 4.969 kB / 396.8 MB, free: 45.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.788e-05/0.3387, allocations: 1.281 kB / 396.8 MB, free: 45.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-06/0.3387, allocations: 1.859 kB / 396.8 MB, free: 45.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.3387, allocations: 1.312 kB / 396.8 MB, free: 45.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.707e-05/0.3387, allocations: 84.22 kB / 396.9 MB, free: 45.67 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3388, allocations: 0 / 396.9 MB, free: 45.67 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001998/0.339, allocations: 3.875 kB / 396.9 MB, free: 45.67 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: 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.205e-05/0.339, allocations: 97.5 kB / 397 MB, free: 45.58 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001128/0.3392, allocations: 28.11 kB / 397 MB, free: 45.57 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.3392, allocations: 1.219 kB / 397 MB, free: 45.57 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.774e-06/0.3392, allocations: 0 / 397 MB, free: 45.57 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.3394, allocations: 25.23 kB / 397 MB, free: 45.56 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002687/0.3397, allocations: 104.6 kB / 397.2 MB, free: 45.46 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.3398, allocations: 0.6869 MB / 397.8 MB, free: 44.75 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.226e-05/0.3399, allocations: 6.297 kB / 397.8 MB, free: 44.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.131e-05/0.3399, allocations: 9.641 kB / 397.9 MB, free: 44.74 MB / 318.1 MB Notification: Performance of SimCode: time 2e-07/0.3399, allocations: 0 / 397.9 MB, free: 44.74 MB / 318.1 MB Notification: Performance of Templates: time 0.002963/0.3429, allocations: 313.2 kB / 398.2 MB, free: 44.69 MB / 318.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches