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.0009516/0.0009516, allocations: 182.4 kB / 16.45 MB, free: 5.656 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.354/1.354, allocations: 205.4 MB / 222.6 MB, free: 9.113 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.000769/0.0007689, allocations: 95.73 kB / 270.9 MB, free: 8.363 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.07252/0.07252, allocations: 12.59 MB / 331.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004116/0.0004117, allocations: 16 kB / 392.7 MB, free: 66.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07886/0.07929, allocations: 50.37 MB / 443 MB, free: 15.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.00123/0.08056, allocations: 1.14 MB / 444.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001494/0.08073, allocations: 35.91 kB / 444.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.541e-05/0.08079, allocations: 4 kB / 444.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.297e-05/0.08082, allocations: 3.938 kB / 444.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.324e-05/0.08086, allocations: 0 / 444.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.08108, allocations: 31.95 kB / 444.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.384e-05/0.08116, allocations: 19.94 kB / 444.3 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.631e-05/0.08124, allocations: 7.984 kB / 444.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.072e-05/0.08128, allocations: 11.94 kB / 444.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.059e-05/0.08132, allocations: 11.92 kB / 444.3 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.08134, allocations: 4 kB / 444.3 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.478e-06/0.08136, allocations: 4 kB / 444.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.001e-05/0.08137, allocations: 0 / 444.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.723e-05/0.0814, allocations: 29.7 kB / 444.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.224e-05/0.08146, allocations: 19.95 kB / 444.3 MB, free: 14.47 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.08147, allocations: 0 / 444.3 MB, free: 14.47 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.08148, allocations: 3.938 kB / 444.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.08149, allocations: 3.938 kB / 444.4 MB, free: 14.46 MB / 298.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.0002957/0.08179, allocations: 343.5 kB / 444.7 MB, free: 14.08 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.08183, allocations: 8.031 kB / 444.7 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.705e-05/0.08186, allocations: 11.91 kB / 444.7 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.08199, allocations: 171.1 kB / 444.9 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.08202, allocations: 4 kB / 444.9 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.916e-06/0.08203, allocations: 3.953 kB / 444.9 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.08233, allocations: 119.3 kB / 445 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.08235, allocations: 0 / 445 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.08236, allocations: 0 / 445 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.08238, allocations: 8 kB / 445 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.08249, allocations: 31.91 kB / 445 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001002/0.0826, allocations: 153.7 kB / 445.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.08275, allocations: 54.55 kB / 445.2 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.914e-05/0.08282, allocations: 24.92 kB / 445.3 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.08284, allocations: 3.953 kB / 445.3 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.08286, allocations: 38.56 kB / 445.3 MB, free: 13.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.08287, allocations: 0 / 445.3 MB, free: 13.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.000241/0.08312, allocations: 89.5 kB / 445.4 MB, free: 13.24 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.08316, allocations: 55.39 kB / 445.5 MB, free: 13.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.734e-05/0.08321, allocations: 101.9 kB / 445.6 MB, free: 13.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.725e-06/0.08323, allocations: 25.7 kB / 445.6 MB, free: 13.04 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.96e-05/0.08325, allocations: 92.12 kB / 445.7 MB, free: 12.94 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.067e-06/0.08326, allocations: 0 / 445.7 MB, free: 12.94 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-06/0.08327, allocations: 4 kB / 445.7 MB, free: 12.94 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.278e-05/0.08332, allocations: 314.8 kB / 446 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.085e-05/0.08334, allocations: 4 kB / 446 MB, free: 12.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.066e-05/0.08336, allocations: 35.67 kB / 446 MB, free: 12.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.964e-05/0.08339, allocations: 11.94 kB / 446 MB, free: 12.56 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.08339, allocations: 4 kB / 446 MB, free: 12.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.368e-05/0.08346, allocations: 65.47 kB / 446.1 MB, free: 12.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.08348, allocations: 11.95 kB / 446.1 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.08349, allocations: 0 / 446.1 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.08351, allocations: 0 / 446.1 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.717e-05/0.08357, allocations: 8 kB / 446.1 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.08358, allocations: 4 kB / 446.1 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.965e-05/0.08361, allocations: 0 / 446.1 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.08362, allocations: 7.984 kB / 446.1 MB, free: 12.45 MB / 298.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.036e-05/0.08367, allocations: 125.6 kB / 446.2 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.08381, allocations: 69.83 kB / 446.3 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.989e-05/0.08384, allocations: 11.86 kB / 446.3 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.08384, allocations: 4 kB / 446.3 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.08385, allocations: 0 / 446.3 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.08386, allocations: 0 / 446.3 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.014e-05/0.08391, allocations: 161.6 kB / 446.5 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.08392, allocations: 0 / 446.5 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.508e-05/0.08399, allocations: 8 kB / 446.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.084, allocations: 4 kB / 446.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-06/0.08401, allocations: 0 / 446.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.08402, allocations: 3.953 kB / 446.5 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.08402, allocations: 4 kB / 446.5 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.08417, allocations: 96.94 kB / 446.6 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.75e-05/0.0842, allocations: 77.11 kB / 446.7 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.08422, allocations: 8 kB / 446.7 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.116e-05/0.08425, allocations: 3.984 kB / 446.7 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-06/0.08426, allocations: 7.953 kB / 446.7 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.08427, allocations: 4 kB / 446.7 MB, free: 11.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.168e-05/0.0843, allocations: 83.28 kB / 446.8 MB, free: 11.69 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0843, allocations: 0 / 446.8 MB, free: 11.69 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001652/0.08447, allocations: 4 kB / 446.8 MB, free: 11.68 MB / 298.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 () * 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 (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 7.459e-05/0.08455, allocations: 91.25 kB / 446.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001228/0.08468, allocations: 35.91 kB / 446.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.0847, allocations: 8.188 kB / 446.9 MB, free: 11.54 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.5e-07/0.0847, allocations: 0 / 446.9 MB, free: 11.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.08498, allocations: 27.98 kB / 446.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000241/0.08523, allocations: 154.4 kB / 447.1 MB, free: 11.33 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.172e-05/0.08533, allocations: 0.6808 MB / 447.8 MB, free: 10.62 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.969e-05/0.08536, allocations: 11.44 kB / 447.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.08536, allocations: 0 / 447.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of Templates: time 0.001507/0.08688, allocations: 0.6214 MB / 448.4 MB, free: 9.988 MB / 298.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