Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=500,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001349/0.001349, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001265/0.001265, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.739/1.739, allocations: 230.4 MB / 251.1 MB, free: 8.441 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 71.83 kB / 369 MB, free: 6.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.3875, allocations: 53.31 MB / 422.3 MB, free: 7.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.00324/0.3907, allocations: 1.48 MB / 423.8 MB, free: 6.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003203/0.3911, allocations: 95.67 kB / 423.9 MB, free: 6.258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.608e-05/0.3911, allocations: 0 / 423.9 MB, free: 6.258 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.018e-05/0.3912, allocations: 7.984 kB / 423.9 MB, free: 6.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.533e-05/0.3912, allocations: 3.938 kB / 423.9 MB, free: 6.246 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.3915, allocations: 23.92 kB / 423.9 MB, free: 6.223 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.3916, allocations: 19.92 kB / 423.9 MB, free: 6.203 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.3917, allocations: 15.92 kB / 423.9 MB, free: 6.188 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.587e-05/0.3918, allocations: 12 kB / 423.9 MB, free: 6.176 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.4e-05/0.3918, allocations: 11.92 kB / 423.9 MB, free: 6.164 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.3918, allocations: 0 / 423.9 MB, free: 6.164 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.171e-05/0.3919, allocations: 4 kB / 424 MB, free: 6.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.424e-05/0.3919, allocations: 7.938 kB / 424 MB, free: 6.152 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.442e-05/0.3919, allocations: 11.94 kB / 424 MB, free: 6.141 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.3921, allocations: 27.89 kB / 424 MB, free: 6.113 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3921, allocations: 0 / 424 MB, free: 6.113 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3921, allocations: 0 / 424 MB, free: 6.113 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.3921, allocations: 3.938 kB / 424 MB, free: 6.109 MB / 334.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.0005663/0.3926, allocations: 347 kB / 424.3 MB, free: 5.723 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.3927, allocations: 8.031 kB / 424.3 MB, free: 5.715 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.3927, allocations: 8.891 kB / 424.4 MB, free: 5.707 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.393, allocations: 176.2 kB / 424.5 MB, free: 5.496 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.393, allocations: 8.375 kB / 424.5 MB, free: 5.488 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.393, allocations: 384 / 424.5 MB, free: 5.488 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003531/0.3934, allocations: 111.8 kB / 424.6 MB, free: 5.367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.3934, allocations: 4.125 kB / 424.7 MB, free: 5.363 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.3934, allocations: 3.938 kB / 424.7 MB, free: 5.359 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.3934, allocations: 4 kB / 424.7 MB, free: 5.355 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.893e-05/0.3935, allocations: 15.98 kB / 424.7 MB, free: 5.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001966/0.3937, allocations: 161.6 kB / 424.8 MB, free: 5.133 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.3939, allocations: 58.48 kB / 424.9 MB, free: 5.066 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.864e-05/0.3939, allocations: 28.91 kB / 424.9 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.394, allocations: 0 / 424.9 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.394, allocations: 30.56 kB / 424.9 MB, free: 4.996 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.394, allocations: 0 / 424.9 MB, free: 4.996 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002644/0.3943, allocations: 77.61 kB / 425 MB, free: 4.914 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.079e-05/0.3943, allocations: 59.34 kB / 425.1 MB, free: 4.844 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.3944, allocations: 105.8 kB / 425.2 MB, free: 4.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.3945, allocations: 25.7 kB / 425.2 MB, free: 4.699 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.723e-05/0.3945, allocations: 80.14 kB / 425.3 MB, free: 4.617 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.036e-05/0.3945, allocations: 0 / 425.3 MB, free: 4.617 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.3946, allocations: 17.72 kB / 425.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.3947, allocations: 322.8 kB / 425.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.144e-05/0.3947, allocations: 4 kB / 425.6 MB, free: 4.266 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.771e-05/0.3948, allocations: 23.44 kB / 425.6 MB, free: 4.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.157e-05/0.3948, allocations: 39.36 kB / 425.7 MB, free: 4.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3948, allocations: 4 kB / 425.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.111e-05/0.3949, allocations: 49.64 kB / 425.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3949, allocations: 4 kB / 425.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.3949, allocations: 3.938 kB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.395, allocations: 7.984 kB / 425.8 MB, free: 4.105 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.59e-05/0.395, allocations: 4 kB / 425.8 MB, free: 4.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.395, allocations: 7.938 kB / 425.8 MB, free: 4.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.196e-05/0.395, allocations: 3.953 kB / 425.8 MB, free: 4.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.3951, allocations: 8.125 kB / 425.8 MB, free: 4.082 MB / 334.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.903e-05/0.3952, allocations: 109.8 kB / 425.9 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.3953, allocations: 61.67 kB / 425.9 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.86e-05/0.3953, allocations: 7.844 kB / 426 MB, free: 3.879 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.3953, allocations: 0 / 426 MB, free: 3.879 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3953, allocations: 3.938 kB / 426 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3953, allocations: 0 / 426 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.3955, allocations: 157.6 kB / 426.1 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3955, allocations: 0 / 426.1 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.193e-05/0.3955, allocations: 19.92 kB / 426.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3955, allocations: 0 / 426.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.3955, allocations: 3.938 kB / 426.1 MB, free: 3.648 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3955, allocations: 0 / 426.1 MB, free: 3.648 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3955, allocations: 4 kB / 426.1 MB, free: 3.645 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.3957, allocations: 85.06 kB / 426.2 MB, free: 3.543 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.054e-05/0.3957, allocations: 77.36 kB / 426.3 MB, free: 3.449 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.3957, allocations: 3.938 kB / 426.3 MB, free: 3.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.986e-05/0.3958, allocations: 16 kB / 426.3 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-06/0.3958, allocations: 0 / 426.3 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-06/0.3958, allocations: 0 / 426.3 MB, free: 3.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.485e-05/0.3958, allocations: 83.27 kB / 426.4 MB, free: 3.348 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3958, allocations: 0 / 426.4 MB, free: 3.348 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001964/0.396, allocations: 8 kB / 426.4 MB, free: 3.34 MB / 334.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.0001463/0.3962, allocations: 95.62 kB / 426.5 MB, free: 3.238 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001586/0.3963, allocations: 35.92 kB / 426.5 MB, free: 3.203 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3963, allocations: 0 / 426.5 MB, free: 3.203 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.3963, allocations: 0 / 426.5 MB, free: 3.203 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.3966, allocations: 27.95 kB / 426.6 MB, free: 3.176 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003367/0.3969, allocations: 113.6 kB / 426.7 MB, free: 3.039 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.3973, allocations: 0.6846 MB / 427.4 MB, free: 2.328 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.688e-05/0.3973, allocations: 4.25 kB / 427.4 MB, free: 2.324 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.476e-05/0.3974, allocations: 11.44 kB / 427.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3974, allocations: 0 / 427.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of Templates: time 0.002914/0.4003, allocations: 328 kB / 427.7 MB, free: 1.996 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches