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.001772/0.001772, allocations: 113.4 kB / 17.99 MB, free: 5.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002202/0.002202, allocations: 201.8 kB / 18.92 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.528/1.528, allocations: 227.4 MB / 247.1 MB, free: 10.69 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 73.39 kB / 307.2 MB, free: 0.8281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1155, allocations: 50.53 MB / 357.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003117/0.1187, allocations: 1.535 MB / 359.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003152/0.119, allocations: 99.67 kB / 359.3 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.307e-05/0.1191, allocations: 4 kB / 359.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.485e-05/0.1192, allocations: 0 / 359.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.421e-05/0.1192, allocations: 3.938 kB / 359.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.1195, allocations: 19.97 kB / 359.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.194e-05/0.1196, allocations: 27.86 kB / 359.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.1197, allocations: 16 kB / 359.4 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.83e-05/0.1197, allocations: 4 kB / 359.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.817e-05/0.1198, allocations: 11.92 kB / 359.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.1198, allocations: 4 kB / 359.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.018e-05/0.1198, allocations: 0 / 359.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.317e-05/0.1199, allocations: 11.94 kB / 359.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.755e-05/0.1199, allocations: 11.94 kB / 359.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.782e-05/0.12, allocations: 19.95 kB / 359.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.12, allocations: 0 / 359.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.12, allocations: 4 kB / 359.5 MB, free: 12.51 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.12, allocations: 0 / 359.5 MB, free: 12.51 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.0005026/0.1205, allocations: 343.7 kB / 359.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.1206, allocations: 12.03 kB / 359.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.1206, allocations: 4.844 kB / 359.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.1209, allocations: 176.3 kB / 360 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.1209, allocations: 4.375 kB / 360 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.1209, allocations: 4.312 kB / 360 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003409/0.1212, allocations: 111.8 kB / 360.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1213, allocations: 192 / 360.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.1213, allocations: 7.875 kB / 360.1 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.1213, allocations: 4 kB / 360.1 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.604e-05/0.1214, allocations: 15.97 kB / 360.1 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001773/0.1216, allocations: 161.7 kB / 360.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.1217, allocations: 58.48 kB / 360.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.739e-05/0.1218, allocations: 24.92 kB / 360.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.1218, allocations: 3.984 kB / 360.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.1219, allocations: 30.56 kB / 360.4 MB, free: 11.4 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1219, allocations: 0 / 360.4 MB, free: 11.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002339/0.1221, allocations: 73.61 kB / 360.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.1222, allocations: 59.34 kB / 360.5 MB, free: 11.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.877e-05/0.1223, allocations: 101.8 kB / 360.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.1223, allocations: 29.7 kB / 360.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.894e-05/0.1224, allocations: 84.14 kB / 360.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.138e-06/0.1224, allocations: 0 / 360.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.1224, allocations: 17.72 kB / 360.8 MB, free: 11 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1226, allocations: 318.8 kB / 361.1 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.482e-05/0.1226, allocations: 4 kB / 361.1 MB, free: 10.67 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.452e-05/0.1227, allocations: 27.44 kB / 361.1 MB, free: 10.63 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.964e-05/0.1227, allocations: 35.38 kB / 361.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1227, allocations: 0 / 361.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.303e-05/0.1228, allocations: 57.53 kB / 361.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1228, allocations: 8 kB / 361.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1229, allocations: 3.938 kB / 361.2 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1229, allocations: 0 / 361.2 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.678e-05/0.1229, allocations: 16.17 kB / 361.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.123, allocations: 0 / 361.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.064e-05/0.123, allocations: 12.12 kB / 361.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.123, allocations: 0 / 361.2 MB, free: 10.48 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.108e-05/0.1231, allocations: 117.8 kB / 361.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.1232, allocations: 49.69 kB / 361.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.749e-05/0.1233, allocations: 15.83 kB / 361.4 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.1233, allocations: 4 kB / 361.4 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.1233, allocations: 0 / 361.4 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1233, allocations: 0 / 361.4 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.1234, allocations: 153.7 kB / 361.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1234, allocations: 7.938 kB / 361.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.071e-05/0.1235, allocations: 15.92 kB / 361.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1235, allocations: 0 / 361.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.1235, allocations: 7.875 kB / 361.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1235, allocations: 0 / 361.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1235, allocations: 0 / 361.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.1237, allocations: 85.02 kB / 361.7 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.049e-05/0.1237, allocations: 77.11 kB / 361.7 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.1238, allocations: 11.94 kB / 361.8 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.24e-05/0.1238, allocations: 0 / 361.8 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-06/0.1238, allocations: 0 / 361.8 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.1238, allocations: 4 kB / 361.8 MB, free: 9.836 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.91e-05/0.1239, allocations: 87.27 kB / 361.8 MB, free: 9.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1239, allocations: 0 / 361.8 MB, free: 9.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001875/0.1241, allocations: 4 kB / 361.9 MB, free: 9.746 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.0001263/0.1242, allocations: 99.19 kB / 361.9 MB, free: 9.641 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000123/0.1243, allocations: 24.36 kB / 362 MB, free: 9.617 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1244, allocations: 0 / 362 MB, free: 9.617 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.92e-07/0.1244, allocations: 0 / 362 MB, free: 9.617 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.1246, allocations: 31.94 kB / 362 MB, free: 9.586 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.125, allocations: 151.1 kB / 362.1 MB, free: 9.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.1253, allocations: 0.6887 MB / 362.8 MB, free: 8.695 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.374e-05/0.1253, allocations: 7.438 kB / 362.8 MB, free: 8.688 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1253, allocations: 0 / 362.8 MB, free: 8.688 MB / 302.1 MB Notification: Performance of Templates: time 0.002119/0.1274, allocations: 0.5432 MB / 363.4 MB, free: 8.145 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 -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.1.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