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.001442/0.001442, allocations: 115.9 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001857/0.001857, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.572/1.572, allocations: 227.4 MB / 247.5 MB, free: 10.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 58.84 kB / 308.4 MB, free: 15.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1218, allocations: 50.55 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003288/0.1251, allocations: 1.457 MB / 360.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002982/0.1254, allocations: 101.3 kB / 360.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.657e-05/0.1255, allocations: 4 kB / 360.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.407e-05/0.1256, allocations: 3.938 kB / 360.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.407e-05/0.1256, allocations: 7.875 kB / 360.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.1259, allocations: 19.98 kB / 360.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.109e-05/0.126, allocations: 31.86 kB / 360.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.1261, allocations: 11.98 kB / 360.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.712e-05/0.1262, allocations: 15.92 kB / 360.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.592e-05/0.1262, allocations: 3.938 kB / 360.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.1262, allocations: 4 kB / 360.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.01e-05/0.1262, allocations: 0 / 360.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.1263, allocations: 12 kB / 360.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.058e-05/0.1263, allocations: 15.92 kB / 360.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.889e-05/0.1264, allocations: 27.83 kB / 360.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.1264, allocations: 0 / 360.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1265, allocations: 0 / 360.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1265, allocations: 4 kB / 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.000492/0.127, allocations: 339.4 kB / 361 MB, free: 11.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.127, allocations: 11.97 kB / 361 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.1271, allocations: 8.844 kB / 361 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.1273, allocations: 180.3 kB / 361.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.1273, allocations: 4.375 kB / 361.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.1273, allocations: 8.375 kB / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/0.1276, allocations: 103.8 kB / 361.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.1277, allocations: 192 / 361.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1277, allocations: 7.938 kB / 361.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1277, allocations: 0 / 361.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.217e-05/0.1278, allocations: 19.98 kB / 361.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/0.1279, allocations: 157.7 kB / 361.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.1281, allocations: 50.5 kB / 361.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.578e-05/0.1281, allocations: 28.92 kB / 361.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.1282, allocations: 0 / 361.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.1282, allocations: 34.56 kB / 361.6 MB, free: 10.53 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1282, allocations: 0 / 361.6 MB, free: 10.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002041/0.1284, allocations: 73.55 kB / 361.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.1285, allocations: 59.39 kB / 361.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.011e-05/0.1286, allocations: 101.9 kB / 361.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.1286, allocations: 29.7 kB / 361.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.631e-05/0.1286, allocations: 88.12 kB / 361.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.168e-06/0.1286, allocations: 4 kB / 361.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.1287, allocations: 9.719 kB / 361.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1288, allocations: 318.8 kB / 362.2 MB, free: 9.805 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.057e-05/0.1288, allocations: 0 / 362.2 MB, free: 9.805 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.604e-05/0.1288, allocations: 27.42 kB / 362.3 MB, free: 9.766 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.157e-05/0.1289, allocations: 39.38 kB / 362.3 MB, free: 9.715 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1289, allocations: 3.938 kB / 362.3 MB, free: 9.711 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.046e-05/0.129, allocations: 57.53 kB / 362.4 MB, free: 9.648 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.129, allocations: 12.06 kB / 362.4 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.129, allocations: 11.92 kB / 362.4 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.129, allocations: 0 / 362.4 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.006e-05/0.1291, allocations: 11.94 kB / 362.4 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.1291, allocations: 0 / 362.4 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.936e-05/0.1291, allocations: 4 kB / 362.4 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.1291, allocations: 4 kB / 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 7.401e-05/0.1292, allocations: 117.7 kB / 362.5 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.1293, allocations: 57.97 kB / 362.6 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.1294, allocations: 11.84 kB / 362.6 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1294, allocations: 48 / 362.6 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-06/0.1294, allocations: 3.984 kB / 362.6 MB, free: 9.395 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.1294, allocations: 7.938 kB / 362.6 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.771e-05/0.1295, allocations: 153.7 kB / 362.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1295, allocations: 4 kB / 362.8 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.425e-05/0.1296, allocations: 4 kB / 362.8 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.1296, allocations: 0 / 362.8 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.1296, allocations: 8.188 kB / 362.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1296, allocations: 0 / 362.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1296, allocations: 8 kB / 362.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.1297, allocations: 85.02 kB / 362.9 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.67e-05/0.1298, allocations: 77.11 kB / 362.9 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.1298, allocations: 11.92 kB / 362.9 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.28e-05/0.1298, allocations: 4 kB / 362.9 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.585e-06/0.1298, allocations: 0 / 362.9 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-06/0.1298, allocations: 0 / 362.9 MB, free: 8.953 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.545e-05/0.1299, allocations: 83.28 kB / 363 MB, free: 8.871 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1299, allocations: 0 / 363 MB, free: 8.871 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001889/0.1301, allocations: 8 kB / 363 MB, free: 8.863 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.0001209/0.1302, allocations: 103.2 kB / 363.1 MB, free: 8.754 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001347/0.1304, allocations: 23.98 kB / 363.2 MB, free: 8.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1304, allocations: 0 / 363.2 MB, free: 8.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.71e-07/0.1304, allocations: 0 / 363.2 MB, free: 8.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.1306, allocations: 27.42 kB / 363.2 MB, free: 8.707 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002769/0.1309, allocations: 129.4 kB / 363.3 MB, free: 8.555 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.1312, allocations: 0.6807 MB / 364 MB, free: 7.848 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.675e-05/0.1312, allocations: 0 / 364 MB, free: 7.848 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.71e-05/0.1313, allocations: 7.438 kB / 364 MB, free: 7.84 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1313, allocations: 0 / 364 MB, free: 7.84 MB / 302.1 MB Notification: Performance of Templates: time 0.002273/0.1336, allocations: 312.6 kB / 364.3 MB, free: 7.535 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 cvode -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