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.001261/0.001261, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001236/0.001236, allocations: 199.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 60.41 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1245, allocations: 50.53 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003078/0.1276, allocations: 1.472 MB / 360.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002223/0.1279, allocations: 93.28 kB / 360.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.367e-05/0.1279, allocations: 7.938 kB / 360.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.545e-05/0.1279, allocations: 4 kB / 360.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.671e-05/0.128, allocations: 3.938 kB / 360.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.1281, allocations: 31.91 kB / 360.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.583e-05/0.1282, allocations: 23.92 kB / 360.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.601e-05/0.1283, allocations: 8 kB / 360.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.801e-05/0.1283, allocations: 7.938 kB / 360.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.751e-05/0.1283, allocations: 15.92 kB / 360.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.1283, allocations: 4 kB / 360.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.09e-06/0.1283, allocations: 4 kB / 360.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.1284, allocations: 3.984 kB / 360.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.836e-05/0.1284, allocations: 15.88 kB / 360.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.596e-05/0.1285, allocations: 27.91 kB / 360.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1285, allocations: 0 / 360.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1285, allocations: 0 / 360.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.1285, allocations: 0 / 360.6 MB, free: 11.63 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.0003104/0.1288, allocations: 339.4 kB / 361 MB, free: 11.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.386e-05/0.1288, allocations: 12.03 kB / 361 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.785e-05/0.1289, allocations: 8.844 kB / 361 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.1291, allocations: 176.4 kB / 361.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.32e-06/0.1291, allocations: 4.312 kB / 361.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.1291, allocations: 4.375 kB / 361.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.1293, allocations: 115.7 kB / 361.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.1e-06/0.1294, allocations: 8.188 kB / 361.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-06/0.1294, allocations: 3.938 kB / 361.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-06/0.1294, allocations: 0 / 361.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.129e-05/0.1294, allocations: 15.98 kB / 361.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001467/0.1296, allocations: 161.6 kB / 361.5 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.1298, allocations: 54.55 kB / 361.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.369e-05/0.1298, allocations: 36.84 kB / 361.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.1299, allocations: 0 / 361.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.1299, allocations: 30.56 kB / 361.6 MB, free: 10.51 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.1299, allocations: 0 / 361.6 MB, free: 10.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002318/0.1301, allocations: 69.61 kB / 361.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.1302, allocations: 55.41 kB / 361.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.156e-05/0.1303, allocations: 109.8 kB / 361.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.1303, allocations: 25.7 kB / 361.8 MB, free: 10.22 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.1304, allocations: 84.14 kB / 361.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.296e-06/0.1304, allocations: 0 / 361.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/0.1304, allocations: 21.7 kB / 361.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1306, allocations: 314.8 kB / 362.2 MB, free: 9.793 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/0.1306, allocations: 7.938 kB / 362.3 MB, free: 9.785 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.259e-05/0.1306, allocations: 35.42 kB / 362.3 MB, free: 9.738 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.438e-05/0.1307, allocations: 35.38 kB / 362.3 MB, free: 9.691 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1307, allocations: 0 / 362.3 MB, free: 9.691 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.51e-05/0.1308, allocations: 57.62 kB / 362.4 MB, free: 9.629 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1308, allocations: 8.031 kB / 362.4 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.1308, allocations: 3.938 kB / 362.4 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.1309, allocations: 4 kB / 362.4 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.918e-05/0.1309, allocations: 4 kB / 362.4 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.1309, allocations: 4 kB / 362.4 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.97e-05/0.131, allocations: 0 / 362.4 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.131, allocations: 0 / 362.4 MB, free: 9.605 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.409e-05/0.1311, allocations: 125.7 kB / 362.5 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.1312, allocations: 57.67 kB / 362.6 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.872e-05/0.1312, allocations: 15.84 kB / 362.6 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1313, allocations: 0 / 362.6 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1313, allocations: 0 / 362.6 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1313, allocations: 0 / 362.6 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.1314, allocations: 153.7 kB / 362.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.1314, allocations: 3.984 kB / 362.7 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.626e-05/0.1314, allocations: 8 kB / 362.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1315, allocations: 0 / 362.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.1315, allocations: 3.938 kB / 362.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.1315, allocations: 0 / 362.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1315, allocations: 4 kB / 362.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.1316, allocations: 88.95 kB / 362.9 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.1317, allocations: 81.36 kB / 362.9 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.1317, allocations: 3.938 kB / 362.9 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.197e-05/0.1317, allocations: 11.92 kB / 362.9 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-06/0.1318, allocations: 4 kB / 362.9 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.1318, allocations: 384 / 362.9 MB, free: 8.945 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.283e-05/0.1318, allocations: 87.28 kB / 363 MB, free: 8.859 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1318, allocations: 0 / 363 MB, free: 8.859 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001829/0.132, allocations: 4 kB / 363 MB, free: 8.855 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.0001155/0.1321, allocations: 95.25 kB / 363.1 MB, free: 8.754 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.1323, allocations: 27.92 kB / 363.2 MB, free: 8.727 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1323, allocations: 3.938 kB / 363.2 MB, free: 8.723 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.11e-07/0.1323, allocations: 256 / 363.2 MB, free: 8.723 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.1325, allocations: 24.08 kB / 363.2 MB, free: 8.699 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003116/0.1328, allocations: 125.5 kB / 363.3 MB, free: 8.551 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.1331, allocations: 0.6807 MB / 364 MB, free: 7.844 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.836e-05/0.1331, allocations: 3.984 kB / 364 MB, free: 7.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.673e-05/0.1332, allocations: 11.44 kB / 364 MB, free: 7.828 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1332, allocations: 0 / 364 MB, free: 7.828 MB / 302.1 MB Notification: Performance of Templates: time 0.002247/0.1354, allocations: 312.7 kB / 364.3 MB, free: 7.523 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 -s gbode -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