Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001566/0.001566, allocations: 176.9 kB / 8.051 MB, free: 1.023 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.226/2.226, allocations: 205.3 MB / 213.8 MB, free: 13.68 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.002045/0.002045, allocations: 95.28 kB / 261.8 MB, free: 13.43 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.1052/0.1052, allocations: 12.59 MB / 322.3 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.369e-05/2.371e-05, allocations: 0 / 378.9 MB, free: 75.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1171, allocations: 50.37 MB / 429.3 MB, free: 24.92 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.52/0.6372, allocations: 76.58 MB / 0.494 GB, free: 12.02 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000338/0.6376, allocations: 77.52 kB / 0.4941 GB, free: 12.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003356/0.641, allocations: 0.7601 MB / 0.4949 GB, free: 11.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.641, allocations: 0 / 0.4949 GB, free: 11.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.6411, allocations: 4.219 kB / 0.4949 GB, free: 11.7 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.0003768/0.6414, allocations: 332.6 kB / 0.4952 GB, free: 11.35 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.6415, allocations: 11.53 kB / 0.4952 GB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.6416, allocations: 3.984 kB / 0.4952 GB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.6418, allocations: 173.5 kB / 0.4954 GB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.6418, allocations: 7.844 kB / 0.4954 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.6419, allocations: 7.891 kB / 0.4954 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.809e-05/0.642, allocations: 10.69 kB / 0.4954 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002792/0.6423, allocations: 88.84 kB / 0.4955 GB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.6423, allocations: 0 / 0.4955 GB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.6423, allocations: 0 / 0.4955 GB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.6424, allocations: 3.844 kB / 0.4955 GB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001444/0.6425, allocations: 132.9 kB / 0.4956 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.6427, allocations: 40.12 kB / 0.4956 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.375e-05/0.6428, allocations: 15.92 kB / 0.4956 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.6428, allocations: 3.938 kB / 0.4957 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.6428, allocations: 34.52 kB / 0.4957 GB, free: 10.85 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.164e-06/0.6428, allocations: 3.844 kB / 0.4957 GB, free: 10.85 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001897/0.643, allocations: 40.28 kB / 0.4957 GB, free: 10.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.6431, allocations: 70.06 kB / 0.4958 GB, free: 10.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.861e-05/0.6432, allocations: 99.34 kB / 0.4959 GB, free: 10.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.6432, allocations: 26.64 kB / 0.4959 GB, free: 10.62 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.824e-05/0.6433, allocations: 80.14 kB / 0.496 GB, free: 10.54 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.6433, allocations: 10.7 kB / 0.496 GB, free: 10.54 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-06/0.6433, allocations: 0 / 0.496 GB, free: 10.54 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.887e-05/0.6434, allocations: 314.7 kB / 0.4963 GB, free: 10.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.96e-05/0.6435, allocations: 3.312 kB / 0.4963 GB, free: 10.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.928e-05/0.6435, allocations: 31.19 kB / 0.4963 GB, free: 10.19 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.413e-05/0.6436, allocations: 14.33 kB / 0.4963 GB, free: 10.19 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.6436, allocations: 0 / 0.4963 GB, free: 10.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001354/0.6437, allocations: 51.73 kB / 0.4964 GB, free: 10.15 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.6438, allocations: 11.81 kB / 0.4964 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.6438, allocations: 3.844 kB / 0.4964 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.6438, allocations: 3.953 kB / 0.4964 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.852e-05/0.644, allocations: 7.531 kB / 0.4964 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.644, allocations: 0 / 0.4964 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.462e-05/0.644, allocations: 3.844 kB / 0.4964 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.6441, allocations: 0 / 0.4964 GB, free: 10.14 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: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.349e-05/0.6441, allocations: 114.1 kB / 0.4965 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.6443, allocations: 51.08 kB / 0.4966 GB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.518e-05/0.6443, allocations: 8.344 kB / 0.4966 GB, free: 9.988 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.6443, allocations: 0 / 0.4966 GB, free: 9.988 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.6444, allocations: 3.953 kB / 0.4966 GB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.6444, allocations: 3.969 kB / 0.4966 GB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.276e-05/0.6445, allocations: 135.7 kB / 0.4967 GB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.6445, allocations: 0 / 0.4967 GB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.6446, allocations: 11.78 kB / 0.4967 GB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.6447, allocations: 7.266 kB / 0.4967 GB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.6447, allocations: 0 / 0.4967 GB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.6447, allocations: 0.8125 kB / 0.4967 GB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6447, allocations: 4 kB / 0.4968 GB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.6449, allocations: 79.03 kB / 0.4968 GB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.09e-05/0.6449, allocations: 81.02 kB / 0.4969 GB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.645, allocations: 3.141 kB / 0.4969 GB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.495e-05/0.6451, allocations: 3.844 kB / 0.4969 GB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-06/0.6451, allocations: 3.25 kB / 0.4969 GB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.6451, allocations: 3.844 kB / 0.4969 GB, free: 9.648 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.931e-05/0.6452, allocations: 82.34 kB / 0.497 GB, free: 9.574 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.82e-07/0.6452, allocations: 4 kB / 0.497 GB, free: 9.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004198/0.6456, allocations: 7.156 kB / 0.497 GB, free: 9.57 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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * 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 0.0001167/0.6457, allocations: 94.72 kB / 0.4971 GB, free: 9.477 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.6459, allocations: 19.28 kB / 0.4971 GB, free: 9.473 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6459, allocations: 0 / 0.4971 GB, free: 9.473 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.6459, allocations: 0 / 0.4971 GB, free: 9.473 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.6462, allocations: 18.7 kB / 0.4971 GB, free: 9.469 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002479/0.6465, allocations: 77.88 kB / 0.4972 GB, free: 9.391 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/0.6467, allocations: 0.69 MB / 0.4979 GB, free: 8.691 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.253e-05/0.6467, allocations: 4.344 kB / 0.4979 GB, free: 8.691 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.135e-05/0.6468, allocations: 11.38 kB / 0.4979 GB, free: 8.684 MB / 330.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6468, allocations: 0 / 0.4979 GB, free: 8.684 MB / 330.7 MB Notification: Performance of Templates: time 0.003655/0.6504, allocations: 369.4 kB / 0.4982 GB, free: 8.637 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches