Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001249/0.001249, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001269/0.001269, allocations: 199.8 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 59.91 kB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2585, allocations: 50.54 MB / 408.8 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002897/0.2615, allocations: 1.502 MB / 410.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.2626, allocations: 438.9 kB / 410.8 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.722e-05/0.2627, allocations: 4 kB / 410.8 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.79e-05/0.2627, allocations: 3.938 kB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.267e-05/0.2628, allocations: 3.938 kB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.2631, allocations: 27.91 kB / 410.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.2632, allocations: 35.86 kB / 410.8 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.2633, allocations: 19.98 kB / 410.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.615e-05/0.2634, allocations: 15.92 kB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.891e-05/0.2634, allocations: 15.92 kB / 410.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.2634, allocations: 4 kB / 410.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.27e-05/0.2635, allocations: 4 kB / 410.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.255e-05/0.2635, allocations: 3.984 kB / 410.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.79e-05/0.2636, allocations: 19.88 kB / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.2637, allocations: 35.83 kB / 410.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2637, allocations: 0 / 410.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2637, allocations: 0 / 410.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.2637, allocations: 0 / 410.9 MB, free: 15.3 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.00053/0.2643, allocations: 358.3 kB / 411.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.2643, allocations: 8.031 kB / 411.3 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.865e-05/0.2644, allocations: 38.73 kB / 411.3 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.819e-05/0.2644, allocations: 8.891 kB / 411.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.2646, allocations: 172.3 kB / 411.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.2647, allocations: 4.375 kB / 411.5 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.2647, allocations: 4.375 kB / 411.5 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004603/0.2651, allocations: 143.3 kB / 411.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.2652, allocations: 0 / 411.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.2652, allocations: 0 / 411.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/0.2652, allocations: 3.984 kB / 411.7 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.2654, allocations: 43.95 kB / 411.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.2655, allocations: 153.7 kB / 411.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.2658, allocations: 78.52 kB / 411.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.266, allocations: 44.78 kB / 412 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.266, allocations: 0 / 412 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.266, allocations: 34.5 kB / 412 MB, free: 14.05 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.266, allocations: 0 / 412 MB, free: 14.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003739/0.2664, allocations: 97.62 kB / 412.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001509/0.2666, allocations: 55.41 kB / 412.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.583e-05/0.2667, allocations: 113.8 kB / 412.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.2667, allocations: 25.7 kB / 412.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.2669, allocations: 84.08 kB / 412.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.022e-05/0.2669, allocations: 4 kB / 412.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.2669, allocations: 17.66 kB / 412.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.2671, allocations: 318.8 kB / 412.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.264e-05/0.2671, allocations: 4 kB / 412.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.371e-05/0.2671, allocations: 27.44 kB / 412.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.75e-05/0.2672, allocations: 35.38 kB / 412.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2672, allocations: 0 / 412.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.682e-05/0.2673, allocations: 65.58 kB / 412.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.2673, allocations: 4 kB / 412.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2673, allocations: 0 / 412.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.2674, allocations: 4 kB / 412.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.465e-05/0.2674, allocations: 7.984 kB / 412.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.2674, allocations: 4 kB / 412.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.603e-05/0.2675, allocations: 7.938 kB / 412.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.2675, allocations: 3.938 kB / 412.9 MB, free: 13.11 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 8.557e-05/0.2676, allocations: 109.8 kB / 413 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002148/0.2678, allocations: 85.61 kB / 413.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.044e-05/0.2678, allocations: 7.906 kB / 413.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.2679, allocations: 0 / 413.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.2679, allocations: 0 / 413.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2679, allocations: 0 / 413.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.268, allocations: 165.7 kB / 413.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.268, allocations: 0 / 413.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.652e-05/0.2681, allocations: 15.92 kB / 413.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2681, allocations: 0 / 413.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.2681, allocations: 4 kB / 413.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2681, allocations: 0 / 413.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.2681, allocations: 3.938 kB / 413.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002856/0.2684, allocations: 109.4 kB / 413.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.264e-05/0.2685, allocations: 85 kB / 413.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.2685, allocations: 0 / 413.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.819e-05/0.2685, allocations: 8 kB / 413.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-06/0.2686, allocations: 0 / 413.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.2686, allocations: 11.92 kB / 413.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.457e-05/0.2686, allocations: 87.58 kB / 413.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2686, allocations: 3.938 kB / 413.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001854/0.2688, allocations: 4 kB / 413.6 MB, free: 12.3 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.0005932/0.2694, allocations: 0.6397 MB / 414.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001563/0.2696, allocations: 31.97 kB / 414.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.2696, allocations: 0 / 414.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.248e-05/0.2696, allocations: 7.938 kB / 414.2 MB, free: 11.6 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.27, allocations: 34.98 kB / 414.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.2711, allocations: 1.162 MB / 415.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.2715, allocations: 0.6807 MB / 416.1 MB, free: 9.598 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.575e-05/0.2716, allocations: 7.984 kB / 416.1 MB, free: 9.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.879e-05/0.2716, allocations: 15.44 kB / 416.1 MB, free: 9.574 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2716, allocations: 0 / 416.1 MB, free: 9.574 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.297, allocations: 1.361 MB / 417.5 MB, free: 8.324 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.842/8.139, allocations: 11.81 kB / 417.5 MB, free: 8.312 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches