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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001235, allocations: 103.2 kB / 16.45 MB, free: 6.438 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.001164/0.001163, allocations: 186.9 kB / 17.39 MB, free: 5.668 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.814/1.814, allocations: 205.1 MB / 223.3 MB, free: 12.2 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.1197/0.1197, allocations: 12.59 MB / 283.2 MB, free: 15.39 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.003236/0.003236, allocations: 91.16 kB / 394.2 MB, free: 45.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1459, allocations: 49.41 MB / 443.6 MB, free: 500 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.003675/0.1497, allocations: 1.42 MB / 445 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002384/0.1499, allocations: 27.91 kB / 445 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.909e-05/0.15, allocations: 0 / 445 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.291e-05/0.1501, allocations: 3.938 kB / 445 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.722e-05/0.1502, allocations: 7.938 kB / 445 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.1505, allocations: 23.97 kB / 445 MB, free: 15 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.1506, allocations: 27.92 kB / 445.1 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.1507, allocations: 11.94 kB / 445.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.546e-05/0.1508, allocations: 11.98 kB / 445.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.689e-05/0.1509, allocations: 19.92 kB / 445.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.1509, allocations: 4 kB / 445.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.293e-05/0.1509, allocations: 4 kB / 445.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.556e-05/0.151, allocations: 7.922 kB / 445.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.072e-05/0.151, allocations: 11.94 kB / 445.1 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.1512, allocations: 27.84 kB / 445.2 MB, free: 14.87 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1512, allocations: 4 kB / 445.2 MB, free: 14.87 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.687e-06/0.1512, allocations: 0 / 445.2 MB, free: 14.87 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.1512, allocations: 0 / 445.2 MB, free: 14.87 MB / 334.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.0007005/0.1519, allocations: 343.5 kB / 445.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.152, allocations: 11.97 kB / 445.5 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.875e-05/0.152, allocations: 8.844 kB / 445.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.1523, allocations: 180.3 kB / 445.7 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.1524, allocations: 384 / 445.7 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.1524, allocations: 12.36 kB / 445.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004972/0.1529, allocations: 123.8 kB / 445.8 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1529, allocations: 4.188 kB / 445.8 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.153, allocations: 7.938 kB / 445.9 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.153, allocations: 0 / 445.9 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002019/0.1532, allocations: 19.97 kB / 445.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001969/0.1534, allocations: 161.6 kB / 446 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.1536, allocations: 54.48 kB / 446.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.1538, allocations: 36.91 kB / 446.1 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.1538, allocations: 4 kB / 446.1 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.1538, allocations: 30.56 kB / 446.2 MB, free: 13.72 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.1538, allocations: 0 / 446.2 MB, free: 13.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003987/0.1542, allocations: 85.53 kB / 446.2 MB, free: 13.63 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.275e-05/0.1543, allocations: 51.41 kB / 446.3 MB, free: 13.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.1545, allocations: 109.8 kB / 446.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.1545, allocations: 25.7 kB / 446.4 MB, free: 13.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.474e-05/0.1546, allocations: 92.14 kB / 446.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.1546, allocations: 0 / 446.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.504e-05/0.1547, allocations: 17.72 kB / 446.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.1549, allocations: 318.8 kB / 446.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.131e-05/0.1549, allocations: 4 kB / 446.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.989e-05/0.155, allocations: 27.44 kB / 446.9 MB, free: 12.94 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.899e-05/0.1551, allocations: 43.36 kB / 446.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.1551, allocations: 4 kB / 446.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001315/0.1552, allocations: 53.55 kB / 447 MB, free: 12.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/0.1553, allocations: 8 kB / 447 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.1553, allocations: 11.86 kB / 447 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.1553, allocations: 8.062 kB / 447 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.59e-05/0.1554, allocations: 8 kB / 447 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.1554, allocations: 0 / 447 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.125e-05/0.1555, allocations: 11.94 kB / 447 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.1555, allocations: 0 / 447 MB, free: 12.77 MB / 334.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 0.0001203/0.1556, allocations: 109.8 kB / 447.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002308/0.1559, allocations: 69.61 kB / 447.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.736e-05/0.1559, allocations: 11.84 kB / 447.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.1559, allocations: 3.984 kB / 447.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1559, allocations: 4 kB / 447.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.156, allocations: 0 / 447.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.1561, allocations: 157.6 kB / 447.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1562, allocations: 3.938 kB / 447.4 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.446e-05/0.1562, allocations: 12.22 kB / 447.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1563, allocations: 0 / 447.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.1563, allocations: 7.938 kB / 447.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.1563, allocations: 0 / 447.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1563, allocations: 0 / 447.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.1566, allocations: 97.08 kB / 447.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.451e-05/0.1567, allocations: 77.11 kB / 447.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.1567, allocations: 7.938 kB / 447.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.533e-05/0.1567, allocations: 384 / 447.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.998e-06/0.1568, allocations: 0 / 447.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.1568, allocations: 4 kB / 447.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.932e-05/0.1569, allocations: 95.2 kB / 447.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1569, allocations: 0 / 447.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003551/0.1572, allocations: 4 kB / 447.7 MB, free: 12.02 MB / 334.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 0.0001548/0.1574, allocations: 95.25 kB / 447.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002211/0.1576, allocations: 31.98 kB / 447.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.1576, allocations: 3.938 kB / 447.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.208e-06/0.1577, allocations: 0 / 447.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004698/0.1581, allocations: 31.94 kB / 447.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004358/0.1586, allocations: 123.1 kB / 447.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.159, allocations: 0.6848 MB / 448.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.412e-05/0.159, allocations: 0 / 448.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.291e-05/0.1591, allocations: 15.44 kB / 448.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1591, allocations: 0 / 448.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of Templates: time 0.003503/0.1626, allocations: 440.5 kB / 449.1 MB, free: 10.55 MB / 334.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches