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.001218/0.001218, allocations: 112.3 kB / 17.74 MB, free: 5.293 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.001164/0.001164, allocations: 187 kB / 18.67 MB, free: 4.375 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.553/1.553, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 47.94 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.409, allocations: 49.43 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003211/0.4123, allocations: 1.468 MB / 402.9 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003187/0.4126, allocations: 95.69 kB / 403 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.518e-05/0.4127, allocations: 0 / 403 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.151e-05/0.4128, allocations: 7.922 kB / 403 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.205e-05/0.4128, allocations: 7.922 kB / 403 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.4131, allocations: 15.94 kB / 403 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.4132, allocations: 23.92 kB / 403 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.4133, allocations: 23.97 kB / 403 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.196e-05/0.4134, allocations: 11.94 kB / 403.1 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.354e-05/0.4134, allocations: 7.922 kB / 403.1 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.4134, allocations: 4 kB / 403.1 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.006e-05/0.4134, allocations: 0 / 403.1 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.41e-05/0.4135, allocations: 11.94 kB / 403.1 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.368e-05/0.4135, allocations: 11.94 kB / 403.1 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.132e-05/0.4136, allocations: 27.89 kB / 403.1 MB, free: 7.148 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.4136, allocations: 0 / 403.1 MB, free: 7.148 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4136, allocations: 0 / 403.1 MB, free: 7.148 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.4137, allocations: 4 kB / 403.1 MB, free: 7.145 MB / 318.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.0004744/0.4141, allocations: 344.7 kB / 403.5 MB, free: 6.758 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.4142, allocations: 8.031 kB / 403.5 MB, free: 6.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.4142, allocations: 4.938 kB / 403.5 MB, free: 6.746 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.4145, allocations: 180.1 kB / 403.7 MB, free: 6.535 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.4145, allocations: 4.312 kB / 403.7 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.4146, allocations: 8.375 kB / 403.7 MB, free: 6.523 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/0.4149, allocations: 107.8 kB / 403.8 MB, free: 6.406 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.4149, allocations: 192 / 403.8 MB, free: 6.406 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.4149, allocations: 7.922 kB / 403.8 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.4149, allocations: 3.938 kB / 403.8 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.857e-05/0.415, allocations: 23.97 kB / 403.8 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001549/0.4152, allocations: 157.7 kB / 404 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.4154, allocations: 50.55 kB / 404 MB, free: 6.109 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.135e-05/0.4154, allocations: 24.92 kB / 404 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.4155, allocations: 0 / 404 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.4155, allocations: 38.5 kB / 404.1 MB, free: 6.035 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.4155, allocations: 0 / 404.1 MB, free: 6.035 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002454/0.4158, allocations: 77.52 kB / 404.1 MB, free: 5.953 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.4158, allocations: 55.41 kB / 404.2 MB, free: 5.887 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.523e-05/0.4159, allocations: 105.8 kB / 404.3 MB, free: 5.773 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.4159, allocations: 25.7 kB / 404.3 MB, free: 5.742 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.722e-05/0.416, allocations: 80.14 kB / 404.4 MB, free: 5.66 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.716e-06/0.416, allocations: 4 kB / 404.4 MB, free: 5.656 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.416, allocations: 13.72 kB / 404.4 MB, free: 5.637 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.4162, allocations: 326.8 kB / 404.7 MB, free: 5.309 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.439e-05/0.4162, allocations: 0 / 404.7 MB, free: 5.309 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.975e-05/0.4162, allocations: 27.38 kB / 404.8 MB, free: 5.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.434e-05/0.4163, allocations: 35.44 kB / 404.8 MB, free: 5.223 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.4163, allocations: 0 / 404.8 MB, free: 5.223 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.055e-05/0.4164, allocations: 57.56 kB / 404.9 MB, free: 5.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.4164, allocations: 4 kB / 404.9 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.4164, allocations: 7.938 kB / 404.9 MB, free: 5.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.4165, allocations: 0 / 404.9 MB, free: 5.148 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.943e-05/0.4165, allocations: 11.98 kB / 404.9 MB, free: 5.137 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.4165, allocations: 0 / 404.9 MB, free: 5.137 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.98e-05/0.4166, allocations: 128 / 404.9 MB, free: 5.137 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.4166, allocations: 12 kB / 404.9 MB, free: 5.125 MB / 318.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.052e-05/0.4167, allocations: 109.8 kB / 405 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.4168, allocations: 61.59 kB / 405.1 MB, free: 4.941 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.905e-05/0.4168, allocations: 11.83 kB / 405.1 MB, free: 4.922 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.4168, allocations: 0 / 405.1 MB, free: 4.922 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4168, allocations: 0 / 405.1 MB, free: 4.922 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.4169, allocations: 0 / 405.1 MB, free: 4.922 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.417, allocations: 153.7 kB / 405.2 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.417, allocations: 4.25 kB / 405.2 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.406e-05/0.4171, allocations: 15.92 kB / 405.2 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.4171, allocations: 7.938 kB / 405.3 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.4171, allocations: 3.938 kB / 405.3 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4171, allocations: 4 kB / 405.3 MB, free: 4.688 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4171, allocations: 0 / 405.3 MB, free: 4.688 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.4173, allocations: 85.38 kB / 405.3 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.363e-05/0.4174, allocations: 85 kB / 405.4 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.4174, allocations: 15.92 kB / 405.4 MB, free: 4.469 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.601e-05/0.4174, allocations: 4 kB / 405.4 MB, free: 4.465 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-06/0.4174, allocations: 0 / 405.4 MB, free: 4.465 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-06/0.4174, allocations: 0 / 405.4 MB, free: 4.465 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.531e-05/0.4175, allocations: 83.27 kB / 405.5 MB, free: 4.383 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4175, allocations: 0 / 405.5 MB, free: 4.383 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001926/0.4177, allocations: 8 kB / 405.5 MB, free: 4.375 MB / 318.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.0001236/0.4178, allocations: 99.98 kB / 405.6 MB, free: 4.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001303/0.4179, allocations: 31.92 kB / 405.7 MB, free: 4.238 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.418, allocations: 0 / 405.7 MB, free: 4.238 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.418, allocations: 0 / 405.7 MB, free: 4.238 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.4182, allocations: 23.08 kB / 405.7 MB, free: 4.219 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000311/0.4185, allocations: 147.3 kB / 405.8 MB, free: 4.043 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.4188, allocations: 0.6805 MB / 406.5 MB, free: 3.336 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.602e-05/0.4189, allocations: 15.69 kB / 406.5 MB, free: 3.32 MB / 318.1 MB Notification: Performance of SimCode: time 2.124e-06/0.4189, allocations: 0 / 406.5 MB, free: 3.32 MB / 318.1 MB Notification: Performance of Templates: time 0.002122/0.421, allocations: 0.5393 MB / 407.1 MB, free: 2.777 MB / 318.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