Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001466/0.001466, allocations: 109.5 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002137/0.002138, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 227.3 MB / 246.9 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001406, allocations: 54.97 kB / 306.9 MB, free: 1.008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1201, allocations: 50.54 MB / 357.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.003334/0.1235, allocations: 1.495 MB / 358.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003073/0.1238, allocations: 103.7 kB / 359 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.452e-05/0.1239, allocations: 0 / 359 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.784e-05/0.124, allocations: 4 kB / 359 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.435e-05/0.1241, allocations: 3.938 kB / 359 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.1243, allocations: 15.98 kB / 359.1 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.499e-05/0.1244, allocations: 31.86 kB / 359.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.1246, allocations: 11.98 kB / 359.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.536e-05/0.1246, allocations: 7.984 kB / 359.1 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.53e-05/0.1246, allocations: 15.88 kB / 359.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.1247, allocations: 0 / 359.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-06/0.1247, allocations: 0 / 359.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.1247, allocations: 4 kB / 359.1 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.937e-05/0.1248, allocations: 15.92 kB / 359.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.794e-05/0.1249, allocations: 19.97 kB / 359.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1249, allocations: 0 / 359.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1249, allocations: 0 / 359.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.1249, allocations: 0 / 359.2 MB, free: 12.73 MB / 302.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.0004332/0.1253, allocations: 347.7 kB / 359.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.1254, allocations: 8.031 kB / 359.5 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/0.1254, allocations: 8.844 kB / 359.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.1256, allocations: 176.2 kB / 359.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.1256, allocations: 8.375 kB / 359.7 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.1257, allocations: 4.375 kB / 359.7 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003328/0.126, allocations: 107.8 kB / 359.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.126, allocations: 192 / 359.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.126, allocations: 3.938 kB / 359.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.126, allocations: 4 kB / 359.8 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.671e-05/0.1261, allocations: 19.98 kB / 359.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001526/0.1263, allocations: 153.7 kB / 360 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.1265, allocations: 58.52 kB / 360 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.021e-05/0.1265, allocations: 20.89 kB / 360.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.1266, allocations: 4 kB / 360.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.1266, allocations: 34.56 kB / 360.1 MB, free: 11.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.1266, allocations: 0 / 360.1 MB, free: 11.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002408/0.1268, allocations: 69.61 kB / 360.2 MB, free: 11.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.1269, allocations: 55.34 kB / 360.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.062e-05/0.127, allocations: 113.8 kB / 360.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.127, allocations: 25.7 kB / 360.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.858e-05/0.1271, allocations: 88.14 kB / 360.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.332e-06/0.1271, allocations: 0 / 360.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.1271, allocations: 21.7 kB / 360.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1273, allocations: 318.8 kB / 360.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.356e-05/0.1273, allocations: 4 kB / 360.8 MB, free: 10.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.201e-05/0.1273, allocations: 27.61 kB / 360.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.298e-05/0.1274, allocations: 35.38 kB / 360.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1274, allocations: 0 / 360.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.142e-05/0.1274, allocations: 57.53 kB / 360.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1275, allocations: 8 kB / 360.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1275, allocations: 4.031 kB / 360.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1275, allocations: 8.109 kB / 360.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.118e-05/0.1276, allocations: 11.94 kB / 360.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1276, allocations: 0 / 360.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.322e-05/0.1276, allocations: 8 kB / 360.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.1276, allocations: 0 / 360.9 MB, free: 10.7 MB / 302.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 9.058e-05/0.1277, allocations: 117.7 kB / 361.1 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.1278, allocations: 57.67 kB / 361.1 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.596e-05/0.1279, allocations: 15.78 kB / 361.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.1279, allocations: 4 kB / 361.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1279, allocations: 0 / 361.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1279, allocations: 0 / 361.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.128, allocations: 157.7 kB / 361.3 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.128, allocations: 0 / 361.3 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.548e-05/0.1281, allocations: 11.94 kB / 361.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1281, allocations: 0 / 361.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.1281, allocations: 3.938 kB / 361.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1281, allocations: 0 / 361.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1281, allocations: 0 / 361.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.1283, allocations: 89.02 kB / 361.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.1283, allocations: 85.11 kB / 361.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.1283, allocations: 3.938 kB / 361.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.739e-05/0.1284, allocations: 3.984 kB / 361.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-06/0.1284, allocations: 0 / 361.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.1284, allocations: 4.25 kB / 361.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.208e-05/0.1284, allocations: 87.28 kB / 361.6 MB, free: 9.957 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1285, allocations: 0 / 361.6 MB, free: 9.957 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001871/0.1286, allocations: 8 kB / 361.6 MB, free: 9.949 MB / 302.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 0.0001135/0.1288, allocations: 99.19 kB / 361.7 MB, free: 9.844 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001285/0.1289, allocations: 19.98 kB / 361.7 MB, free: 9.824 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1289, allocations: 0 / 361.7 MB, free: 9.824 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.91e-07/0.1289, allocations: 4 kB / 361.7 MB, free: 9.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.1292, allocations: 27.95 kB / 361.7 MB, free: 9.793 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/0.1295, allocations: 149.2 kB / 361.9 MB, free: 9.613 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.1297, allocations: 0.6925 MB / 362.6 MB, free: 8.895 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.403e-05/0.1298, allocations: 7.438 kB / 362.6 MB, free: 8.887 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1298, allocations: 0 / 362.6 MB, free: 8.887 MB / 302.1 MB Notification: Performance of Templates: time 0.001897/0.1317, allocations: 0.5426 MB / 363.1 MB, free: 8.348 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches