Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.00159, allocations: 111.4 kB / 17.29 MB, free: 6.219 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.001895/0.001895, allocations: 197.3 kB / 18.21 MB, free: 5.289 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.446/1.446, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00103/0.00103, allocations: 47.56 kB / 300.8 MB, free: 6.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.111, allocations: 49.45 MB / 350.2 MB, free: 4.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002818/0.1139, allocations: 1.518 MB / 351.8 MB, free: 3.23 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002622/0.1142, allocations: 99.69 kB / 351.9 MB, free: 3.133 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.906e-05/0.1142, allocations: 4 kB / 351.9 MB, free: 3.129 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.68e-05/0.1143, allocations: 3.938 kB / 351.9 MB, free: 3.125 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.419e-05/0.1144, allocations: 0 / 351.9 MB, free: 3.125 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.1146, allocations: 28.41 kB / 351.9 MB, free: 3.098 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.661e-05/0.1147, allocations: 27.86 kB / 351.9 MB, free: 3.07 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1148, allocations: 8 kB / 351.9 MB, free: 3.062 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.038e-05/0.1149, allocations: 8 kB / 351.9 MB, free: 3.055 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.423e-05/0.1149, allocations: 11.92 kB / 351.9 MB, free: 3.043 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.1149, allocations: 0 / 351.9 MB, free: 3.043 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.165e-05/0.115, allocations: 7.938 kB / 352 MB, free: 3.035 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.636e-05/0.115, allocations: 15.92 kB / 352 MB, free: 3.02 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.665e-05/0.115, allocations: 11.94 kB / 352 MB, free: 3.008 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.143e-05/0.1151, allocations: 15.97 kB / 352 MB, free: 2.992 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1151, allocations: 4 kB / 352 MB, free: 2.988 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1151, allocations: 3.938 kB / 352 MB, free: 2.984 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.1151, allocations: 0 / 352 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.0004679/0.1156, allocations: 343.7 kB / 352.3 MB, free: 2.598 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/0.1157, allocations: 8.031 kB / 352.3 MB, free: 2.59 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.1157, allocations: 12.84 kB / 352.4 MB, free: 2.578 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.1159, allocations: 172.4 kB / 352.5 MB, free: 2.371 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.562e-06/0.1159, allocations: 384 / 352.5 MB, free: 2.371 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.116, allocations: 4.375 kB / 352.5 MB, free: 2.367 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/0.1163, allocations: 111.8 kB / 352.6 MB, free: 2.246 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.1163, allocations: 192 / 352.6 MB, free: 2.246 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.1163, allocations: 7.938 kB / 352.6 MB, free: 2.238 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1163, allocations: 0 / 352.6 MB, free: 2.238 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.26e-05/0.1164, allocations: 27.91 kB / 352.7 MB, free: 2.211 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001648/0.1166, allocations: 157.6 kB / 352.8 MB, free: 2.008 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.1168, allocations: 50.55 kB / 352.9 MB, free: 1.949 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.944e-05/0.1168, allocations: 28.91 kB / 352.9 MB, free: 1.918 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.1169, allocations: 4 kB / 352.9 MB, free: 1.914 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.1169, allocations: 34.56 kB / 352.9 MB, free: 1.871 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1169, allocations: 0 / 352.9 MB, free: 1.871 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002411/0.1171, allocations: 73.55 kB / 353 MB, free: 1.793 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.1172, allocations: 51.41 kB / 353.1 MB, free: 1.73 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.1173, allocations: 109.8 kB / 353.2 MB, free: 1.613 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.1174, allocations: 33.7 kB / 353.2 MB, free: 1.574 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.574e-05/0.1174, allocations: 80.14 kB / 353.3 MB, free: 1.492 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.267e-06/0.1174, allocations: 4 kB / 353.3 MB, free: 1.488 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.1175, allocations: 13.72 kB / 353.3 MB, free: 1.469 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.1177, allocations: 318.8 kB / 353.6 MB, free: 1.148 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.536e-05/0.1177, allocations: 4 kB / 353.6 MB, free: 1.145 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.665e-05/0.1177, allocations: 23.44 kB / 353.6 MB, free: 1.109 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.687e-05/0.1178, allocations: 39.38 kB / 353.7 MB, free: 1.059 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1178, allocations: 0 / 353.7 MB, free: 1.059 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.972e-05/0.1179, allocations: 57.56 kB / 353.7 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.1179, allocations: 4.125 kB / 353.7 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1179, allocations: 11.94 kB / 353.8 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.1179, allocations: 0 / 353.8 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.002e-05/0.118, allocations: 11.98 kB / 353.8 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.118, allocations: 0 / 353.8 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.206e-05/0.118, allocations: 3.906 kB / 353.8 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.118, allocations: 4 kB / 353.8 MB, free: 0.9609 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: 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 8.188e-05/0.1181, allocations: 113.8 kB / 353.9 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.1182, allocations: 57.62 kB / 353.9 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.265e-05/0.1183, allocations: 19.83 kB / 354 MB, free: 0.75 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.1183, allocations: 3.938 kB / 354 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1183, allocations: 0 / 354 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1183, allocations: 0 / 354 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.1184, allocations: 153.7 kB / 354.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.1184, allocations: 4 kB / 354.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.1185, allocations: 7.984 kB / 354.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1185, allocations: 0 / 354.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.1185, allocations: 11.88 kB / 354.1 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1185, allocations: 0 / 354.1 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1185, allocations: 3.984 kB / 354.1 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.1187, allocations: 89.02 kB / 354.2 MB, free: 424 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.322e-05/0.1187, allocations: 81.05 kB / 354.3 MB, free: 324 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.1188, allocations: 3.938 kB / 354.3 MB, free: 320 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.303e-05/0.1188, allocations: 4 kB / 354.3 MB, free: 316 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.645e-06/0.1188, allocations: 0 / 354.3 MB, free: 316 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.1188, allocations: 4 kB / 354.3 MB, free: 312 kB / 286.1 MB Notification: Performance of sorting global known variables: time 5.302e-05/0.1189, allocations: 91.52 kB / 354.4 MB, free: 220 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1189, allocations: 0 / 354.4 MB, free: 220 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001807/0.119, allocations: 4 kB / 354.4 MB, free: 216 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: 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.0001264/0.1192, allocations: 103.2 kB / 354.5 MB, free: 104 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000129/0.1193, allocations: 28.3 kB / 354.5 MB, free: 76 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1193, allocations: 0 / 354.5 MB, free: 76 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.1193, allocations: 0 / 354.5 MB, free: 76 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.1196, allocations: 30.48 kB / 354.6 MB, free: 48 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003506/0.1199, allocations: 143.4 kB / 354.7 MB, free: 15.87 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.1203, allocations: 0.6768 MB / 355.4 MB, free: 15.17 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/0.1203, allocations: 15.44 kB / 355.4 MB, free: 15.15 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1203, allocations: 0 / 355.4 MB, free: 15.15 MB / 302.1 MB Notification: Performance of Templates: time 0.002017/0.1223, allocations: 0.539 MB / 355.9 MB, free: 14.61 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches