Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.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.001275/0.001275, allocations: 115 kB / 16.63 MB, free: 6.812 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.001298/0.001298, allocations: 186 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 222.9 MB / 241.2 MB, free: 15.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00096/0.00096, allocations: 43.36 kB / 300.1 MB, free: 6.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.128, allocations: 49.46 MB / 349.6 MB, free: 4.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.003838/0.1319, allocations: 1.468 MB / 351.1 MB, free: 3.176 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002225/0.1322, allocations: 27.91 kB / 351.1 MB, free: 3.148 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.71e-05/0.1323, allocations: 7.938 kB / 351.1 MB, free: 3.141 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.91e-05/0.1324, allocations: 4 kB / 351.1 MB, free: 3.137 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.717e-05/0.1324, allocations: 0 / 351.1 MB, free: 3.137 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.1328, allocations: 31.91 kB / 351.1 MB, free: 3.105 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.1329, allocations: 23.98 kB / 351.1 MB, free: 3.082 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.133, allocations: 8 kB / 351.2 MB, free: 3.074 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.538e-05/0.1331, allocations: 11.94 kB / 351.2 MB, free: 3.062 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.95e-05/0.1331, allocations: 11.92 kB / 351.2 MB, free: 3.051 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.1332, allocations: 0 / 351.2 MB, free: 3.051 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.54e-05/0.1332, allocations: 4 kB / 351.2 MB, free: 3.047 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.777e-05/0.1332, allocations: 8 kB / 351.2 MB, free: 3.039 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.16e-05/0.1333, allocations: 23.84 kB / 351.2 MB, free: 3.016 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.1334, allocations: 31.84 kB / 351.2 MB, free: 2.984 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.1334, allocations: 0 / 351.2 MB, free: 2.984 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1334, allocations: 0 / 351.2 MB, free: 2.984 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.1334, allocations: 0 / 351.2 MB, free: 2.984 MB / 286.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.0005733/0.134, allocations: 346.1 kB / 351.6 MB, free: 2.598 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.202e-05/0.1341, allocations: 11.89 kB / 351.6 MB, free: 2.586 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.259e-05/0.1342, allocations: 8.844 kB / 351.6 MB, free: 2.578 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.1344, allocations: 172.4 kB / 351.8 MB, free: 2.371 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.1344, allocations: 4.375 kB / 351.8 MB, free: 2.367 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.1344, allocations: 4.375 kB / 351.8 MB, free: 2.363 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000384/0.1348, allocations: 131.8 kB / 351.9 MB, free: 2.223 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1348, allocations: 192 / 351.9 MB, free: 2.223 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.1349, allocations: 7.938 kB / 351.9 MB, free: 2.215 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.1349, allocations: 0 / 351.9 MB, free: 2.215 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.135, allocations: 31.91 kB / 351.9 MB, free: 2.184 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00017/0.1352, allocations: 161.6 kB / 352.1 MB, free: 1.977 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.1354, allocations: 62.5 kB / 352.2 MB, free: 1.906 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.1355, allocations: 28.89 kB / 352.2 MB, free: 1.875 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.1355, allocations: 0 / 352.2 MB, free: 1.875 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.1355, allocations: 34.55 kB / 352.2 MB, free: 1.832 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.1355, allocations: 0 / 352.2 MB, free: 1.832 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002743/0.1358, allocations: 89.53 kB / 352.3 MB, free: 1.738 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.1359, allocations: 55.41 kB / 352.4 MB, free: 1.672 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.119e-05/0.136, allocations: 97.86 kB / 352.5 MB, free: 1.566 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.136, allocations: 29.7 kB / 352.5 MB, free: 1.531 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.118e-05/0.1361, allocations: 88.12 kB / 352.6 MB, free: 1.441 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.362e-05/0.1361, allocations: 0 / 352.6 MB, free: 1.441 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.1361, allocations: 17.72 kB / 352.6 MB, free: 1.418 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1363, allocations: 318.8 kB / 352.9 MB, free: 1.098 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.311e-05/0.1363, allocations: 8 kB / 352.9 MB, free: 1.09 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.219e-05/0.1363, allocations: 31.44 kB / 352.9 MB, free: 1.047 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.176e-05/0.1364, allocations: 35.38 kB / 353 MB, free: 1 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1364, allocations: 4 kB / 353 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.414e-05/0.1365, allocations: 61.47 kB / 353 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.1365, allocations: 8 kB / 353.1 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1365, allocations: 3.938 kB / 353.1 MB, free: 0.918 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.1365, allocations: 0 / 353.1 MB, free: 0.918 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.395e-05/0.1366, allocations: 11.98 kB / 353.1 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1366, allocations: 0 / 353.1 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.898e-05/0.1367, allocations: 4 kB / 353.1 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.1367, allocations: 4.125 kB / 353.1 MB, free: 0.8984 MB / 286.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 7.733e-05/0.1368, allocations: 113.8 kB / 353.2 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.1369, allocations: 69.61 kB / 353.3 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/0.137, allocations: 7.844 kB / 353.3 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.137, allocations: 0 / 353.3 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.137, allocations: 0 / 353.3 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.137, allocations: 0 / 353.3 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.685e-05/0.1371, allocations: 165.5 kB / 353.4 MB, free: 488 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1371, allocations: 7.938 kB / 353.4 MB, free: 480 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.797e-05/0.1371, allocations: 7.984 kB / 353.4 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1372, allocations: 8.375 kB / 353.4 MB, free: 464 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.1372, allocations: 7.938 kB / 353.5 MB, free: 456 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.1372, allocations: 4 kB / 353.5 MB, free: 452 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1372, allocations: 0 / 353.5 MB, free: 452 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.1374, allocations: 89.05 kB / 353.5 MB, free: 344 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/0.1374, allocations: 81.09 kB / 353.6 MB, free: 244 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.1374, allocations: 7.938 kB / 353.6 MB, free: 236 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.513e-05/0.1375, allocations: 4 kB / 353.6 MB, free: 232 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.318e-05/0.1375, allocations: 4.281 kB / 353.6 MB, free: 228 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.1375, allocations: 0 / 353.6 MB, free: 228 kB / 286.1 MB Notification: Performance of sorting global known variables: time 4.537e-05/0.1376, allocations: 87.27 kB / 353.7 MB, free: 140 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1376, allocations: 0 / 353.7 MB, free: 140 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001935/0.1378, allocations: 4 kB / 353.7 MB, free: 136 kB / 286.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.0001126/0.1379, allocations: 99.19 kB / 353.8 MB, free: 28 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001717/0.1381, allocations: 40.2 kB / 353.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1381, allocations: 4.062 kB / 353.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.02e-07/0.1381, allocations: 0 / 353.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.1384, allocations: 31.92 kB / 353.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.1388, allocations: 129.4 kB / 354 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.1391, allocations: 0.6807 MB / 354.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.282e-05/0.1391, allocations: 4 kB / 354.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.912e-05/0.1392, allocations: 11.44 kB / 354.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1392, allocations: 4 kB / 354.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of Templates: time 0.00263/0.1418, allocations: 428 kB / 355.1 MB, free: 14.65 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches