Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008772/0.000877, allocations: 96.66 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001158/0.001158, allocations: 204.2 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 227.7 MB / 247.5 MB, free: 9.711 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002611/0.000261, allocations: 8 kB / 308.4 MB, free: 0.6211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.116, allocations: 51.52 MB / 359.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002033/0.1181, allocations: 1.2 MB / 361.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003126/0.1184, allocations: 95.69 kB / 361.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.383e-05/0.1185, allocations: 0 / 361.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.694e-05/0.1186, allocations: 0 / 361.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.575e-05/0.1186, allocations: 7.938 kB / 361.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.1189, allocations: 23.91 kB / 361.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.246e-05/0.119, allocations: 23.88 kB / 361.3 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.1191, allocations: 11.98 kB / 361.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.549e-05/0.1192, allocations: 8 kB / 361.3 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.694e-05/0.1192, allocations: 7.938 kB / 361.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.1193, allocations: 0 / 361.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.666e-06/0.1193, allocations: 0 / 361.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.49e-05/0.1193, allocations: 11.94 kB / 361.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.311e-05/0.1194, allocations: 37.61 kB / 361.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.065e-05/0.1194, allocations: 15.97 kB / 361.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1195, allocations: 4 kB / 361.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1195, allocations: 0 / 361.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.1195, allocations: 0 / 361.4 MB, free: 11.64 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.0004359/0.1199, allocations: 347.7 kB / 361.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.12, allocations: 8.031 kB / 361.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.12, allocations: 12.83 kB / 361.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.1202, allocations: 168.4 kB / 361.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.1202, allocations: 4.359 kB / 361.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.1203, allocations: 8.375 kB / 361.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003413/0.1206, allocations: 107.9 kB / 362 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1206, allocations: 192 / 362 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.1206, allocations: 3.938 kB / 362 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.1207, allocations: 0 / 362 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.804e-05/0.1207, allocations: 27.92 kB / 362 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.1209, allocations: 165.6 kB / 362.2 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.1211, allocations: 62.48 kB / 362.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.674e-05/0.1212, allocations: 24.92 kB / 362.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.1212, allocations: 4 kB / 362.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.1212, allocations: 34.56 kB / 362.3 MB, free: 10.51 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.1212, allocations: 0 / 362.3 MB, free: 10.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002498/0.1215, allocations: 77.55 kB / 362.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.1216, allocations: 63.39 kB / 362.5 MB, free: 10.35 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.1217, allocations: 105.8 kB / 362.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.1217, allocations: 25.7 kB / 362.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/0.1217, allocations: 84.14 kB / 362.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.918e-06/0.1218, allocations: 3.984 kB / 362.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/0.1218, allocations: 13.72 kB / 362.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1219, allocations: 314.8 kB / 363 MB, free: 9.781 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.097e-05/0.1219, allocations: 3.938 kB / 363 MB, free: 9.777 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.796e-05/0.122, allocations: 35.42 kB / 363 MB, free: 9.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.706e-05/0.122, allocations: 35.38 kB / 363.1 MB, free: 9.684 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.122, allocations: 0 / 363.1 MB, free: 9.684 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.094e-05/0.1221, allocations: 53.72 kB / 363.1 MB, free: 9.625 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.1222, allocations: 8.031 kB / 363.1 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.1222, allocations: 3.938 kB / 363.1 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.1222, allocations: 4 kB / 363.1 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.017e-05/0.1223, allocations: 7.938 kB / 363.1 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.1223, allocations: 7.984 kB / 363.1 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.055e-05/0.1223, allocations: 0 / 363.1 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.1223, allocations: 4 kB / 363.1 MB, free: 9.59 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: 0 () * 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.394e-05/0.1224, allocations: 117.7 kB / 363.3 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.1225, allocations: 69.86 kB / 363.3 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.704e-05/0.1226, allocations: 11.84 kB / 363.3 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.1226, allocations: 48 / 363.3 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.1226, allocations: 7.922 kB / 363.4 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1226, allocations: 0 / 363.4 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.1227, allocations: 157.7 kB / 363.5 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1227, allocations: 0 / 363.5 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.197e-05/0.1228, allocations: 8 kB / 363.5 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.1228, allocations: 3.938 kB / 363.5 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.1228, allocations: 7.938 kB / 363.5 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1228, allocations: 4 kB / 363.5 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1228, allocations: 0 / 363.5 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.123, allocations: 85.11 kB / 363.6 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.197e-05/0.1231, allocations: 81.02 kB / 363.7 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.1231, allocations: 3.938 kB / 363.7 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.851e-05/0.1231, allocations: 11.98 kB / 363.7 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-06/0.1231, allocations: 0 / 363.7 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.1231, allocations: 256 / 363.7 MB, free: 8.922 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.816e-05/0.1232, allocations: 87.28 kB / 363.8 MB, free: 8.836 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.863e-06/0.1232, allocations: 4 kB / 363.8 MB, free: 8.832 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001924/0.1234, allocations: 3.938 kB / 363.8 MB, free: 8.828 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: 0 () * 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.0001222/0.1235, allocations: 95.25 kB / 363.9 MB, free: 8.727 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001212/0.1237, allocations: 27.98 kB / 363.9 MB, free: 8.699 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.1237, allocations: 4 kB / 363.9 MB, free: 8.695 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.62e-07/0.1237, allocations: 0 / 363.9 MB, free: 8.695 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.1239, allocations: 23.92 kB / 363.9 MB, free: 8.672 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003112/0.1242, allocations: 146.7 kB / 364.1 MB, free: 8.492 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.1245, allocations: 0.6848 MB / 364.8 MB, free: 7.781 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.61e-05/0.1245, allocations: 11.38 kB / 364.8 MB, free: 7.77 MB / 302.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1245, allocations: 0 / 364.8 MB, free: 7.77 MB / 302.1 MB Notification: Performance of Templates: time 0.00193/0.1265, allocations: 0.5425 MB / 365.3 MB, free: 7.23 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches