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.001057/0.001057, allocations: 109.8 kB / 17.68 MB, free: 5.332 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.00121/0.00121, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.445/1.445, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 45.34 kB / 302.1 MB, free: 5.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1051, allocations: 49.44 MB / 351.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002621/0.1078, allocations: 1.455 MB / 353 MB, free: 2.234 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002397/0.1081, allocations: 93.17 kB / 353 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.636e-05/0.1081, allocations: 4 kB / 353.1 MB, free: 2.141 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.752e-05/0.1082, allocations: 7.938 kB / 353.1 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.9e-05/0.1082, allocations: 11.86 kB / 353.1 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.1084, allocations: 25.92 kB / 353.1 MB, free: 2.098 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.221e-05/0.1085, allocations: 19.98 kB / 353.1 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.872e-05/0.1086, allocations: 15.92 kB / 353.1 MB, free: 2.062 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.957e-05/0.1087, allocations: 7.984 kB / 353.1 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.076e-05/0.1087, allocations: 15.88 kB / 353.2 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.1087, allocations: 4 kB / 353.2 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.306e-06/0.1087, allocations: 0 / 353.2 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.837e-05/0.1088, allocations: 15.92 kB / 353.2 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.023e-05/0.1088, allocations: 11.94 kB / 353.2 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.812e-05/0.1089, allocations: 27.89 kB / 353.2 MB, free: 1.98 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1089, allocations: 0 / 353.2 MB, free: 1.98 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1089, allocations: 0 / 353.2 MB, free: 1.98 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1089, allocations: 0 / 353.2 MB, free: 1.98 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.0003725/0.1093, allocations: 339.4 kB / 353.5 MB, free: 1.598 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.1093, allocations: 8.031 kB / 353.6 MB, free: 1.59 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.546e-05/0.1094, allocations: 8.828 kB / 353.6 MB, free: 1.582 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.1095, allocations: 180.4 kB / 353.7 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.09e-06/0.1095, allocations: 384 / 353.7 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.1096, allocations: 4.375 kB / 353.7 MB, free: 1.363 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.1099, allocations: 107.8 kB / 353.8 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1099, allocations: 4.172 kB / 353.8 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.1099, allocations: 15.81 kB / 353.9 MB, free: 1.227 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.1099, allocations: 0 / 353.9 MB, free: 1.227 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.989e-05/0.11, allocations: 19.98 kB / 353.9 MB, free: 1.207 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001277/0.1101, allocations: 157.7 kB / 354 MB, free: 1.004 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.1102, allocations: 50.56 kB / 354.1 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.66e-05/0.1103, allocations: 24.92 kB / 354.1 MB, free: 0.918 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.1103, allocations: 4 kB / 354.1 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.1104, allocations: 30.56 kB / 354.1 MB, free: 0.875 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 3.196e-06/0.1104, allocations: 0 / 354.1 MB, free: 0.875 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001876/0.1106, allocations: 81.53 kB / 354.2 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.1106, allocations: 51.41 kB / 354.3 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.892e-05/0.1107, allocations: 101.9 kB / 354.4 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.1107, allocations: 29.7 kB / 354.4 MB, free: 0.582 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.066e-05/0.1107, allocations: 88.12 kB / 354.5 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.382e-06/0.1107, allocations: 0 / 354.5 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.1108, allocations: 17.72 kB / 354.5 MB, free: 480 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.702e-05/0.1109, allocations: 310.8 kB / 354.8 MB, free: 160 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.23e-05/0.1109, allocations: 11.98 kB / 354.8 MB, free: 148 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.328e-05/0.1109, allocations: 27.38 kB / 354.8 MB, free: 108 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.472e-05/0.111, allocations: 35.44 kB / 354.9 MB, free: 60 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.111, allocations: 3.938 kB / 354.9 MB, free: 56 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.358e-05/0.1111, allocations: 57.67 kB / 354.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.1111, allocations: 4 kB / 354.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1111, allocations: 8.062 kB / 355 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1111, allocations: 4 kB / 355 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.087e-05/0.1112, allocations: 4 kB / 355 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1112, allocations: 4 kB / 355 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.064e-05/0.1112, allocations: 7.906 kB / 355 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-06/0.1112, allocations: 0 / 355 MB, free: 15.96 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 6.893e-05/0.1113, allocations: 125.7 kB / 355.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.974e-05/0.1114, allocations: 57.62 kB / 355.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.804e-05/0.1114, allocations: 15.84 kB / 355.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.1114, allocations: 0 / 355.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.1114, allocations: 0 / 355.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1114, allocations: 3.984 kB / 355.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.105e-05/0.1115, allocations: 153.7 kB / 355.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1115, allocations: 3.828 kB / 355.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.121e-05/0.1116, allocations: 8.328 kB / 355.3 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1116, allocations: 0 / 355.3 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.1116, allocations: 3.938 kB / 355.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1116, allocations: 3.984 kB / 355.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1116, allocations: 0 / 355.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.1118, allocations: 96.95 kB / 355.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.362e-05/0.1118, allocations: 81.09 kB / 355.5 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.1118, allocations: 4.188 kB / 355.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.481e-05/0.1118, allocations: 8 kB / 355.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.044e-06/0.1119, allocations: 0 / 355.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.1119, allocations: 0 / 355.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.123e-05/0.1119, allocations: 83.28 kB / 355.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1119, allocations: 4 kB / 355.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001802/0.1121, allocations: 4 kB / 355.6 MB, free: 15.21 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 8.517e-05/0.1122, allocations: 103.8 kB / 355.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.571e-05/0.1123, allocations: 27.92 kB / 355.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1123, allocations: 0 / 355.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.4e-07/0.1123, allocations: 0 / 355.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/0.1125, allocations: 20.25 kB / 355.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002256/0.1127, allocations: 121.5 kB / 355.9 MB, free: 14.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002023/0.1129, allocations: 0.6768 MB / 356.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.376e-06/0.113, allocations: 4 kB / 356.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.729e-05/0.113, allocations: 7.438 kB / 356.6 MB, free: 14.19 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.113, allocations: 0 / 356.6 MB, free: 14.19 MB / 302.1 MB Notification: Performance of Templates: time 0.001804/0.1148, allocations: 316.7 kB / 356.9 MB, free: 13.88 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 -s gbode -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