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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001377/0.001377, allocations: 117.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001612/0.001612, allocations: 203.8 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.567/1.567, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 63.89 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.379, allocations: 50.54 MB / 409.2 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002778/0.3819, allocations: 1.491 MB / 410.7 MB, free: 104 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007987/0.3827, allocations: 434.9 kB / 411.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.252e-05/0.3828, allocations: 4 kB / 411.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.286e-05/0.3828, allocations: 7.938 kB / 411.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.065e-05/0.3829, allocations: 3.938 kB / 411.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.3832, allocations: 27.95 kB / 411.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000105/0.3833, allocations: 39.8 kB / 411.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.3834, allocations: 8 kB / 411.3 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.871e-05/0.3835, allocations: 19.97 kB / 411.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.815e-05/0.3835, allocations: 19.86 kB / 411.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.3836, allocations: 4 kB / 411.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.047e-06/0.3836, allocations: 4 kB / 411.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.17e-05/0.3836, allocations: 8 kB / 411.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.37e-05/0.3836, allocations: 11.94 kB / 411.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.571e-05/0.3837, allocations: 35.83 kB / 411.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3838, allocations: 0 / 411.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3838, allocations: 0 / 411.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.3838, allocations: 0 / 411.4 MB, free: 15.48 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.0005397/0.3843, allocations: 351.2 kB / 411.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.3844, allocations: 12.03 kB / 411.7 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.3844, allocations: 8.844 kB / 411.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.3847, allocations: 184.3 kB / 411.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.452e-06/0.3847, allocations: 384 / 411.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.3847, allocations: 4.375 kB / 411.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004374/0.3852, allocations: 147.5 kB / 412 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.3852, allocations: 0 / 412 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.3852, allocations: 0 / 412 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.3852, allocations: 0 / 412 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.3854, allocations: 39.89 kB / 412.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001576/0.3855, allocations: 158.9 kB / 412.2 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.3858, allocations: 82.5 kB / 412.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.45e-05/0.3859, allocations: 32.92 kB / 412.4 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.3859, allocations: 4 kB / 412.4 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.386, allocations: 38.5 kB / 412.4 MB, free: 14.28 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.386, allocations: 0 / 412.4 MB, free: 14.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003488/0.3863, allocations: 109.5 kB / 412.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.3864, allocations: 55.34 kB / 412.6 MB, free: 14.1 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.356e-05/0.3865, allocations: 105.8 kB / 412.7 MB, free: 13.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.3865, allocations: 25.7 kB / 412.7 MB, free: 13.95 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.379e-05/0.3865, allocations: 88.14 kB / 412.8 MB, free: 13.86 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.965e-06/0.3866, allocations: 0 / 412.8 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.3866, allocations: 21.72 kB / 412.8 MB, free: 13.84 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.3867, allocations: 318.8 kB / 413.1 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.168e-05/0.3867, allocations: 0 / 413.1 MB, free: 13.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.112e-05/0.3868, allocations: 27.44 kB / 413.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.071e-05/0.3868, allocations: 39.38 kB / 413.2 MB, free: 13.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.3868, allocations: 3.984 kB / 413.2 MB, free: 13.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.341e-05/0.3869, allocations: 57.48 kB / 413.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.3869, allocations: 14.75 kB / 413.2 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.387, allocations: 0 / 413.2 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.387, allocations: 0 / 413.2 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.024e-05/0.387, allocations: 11.98 kB / 413.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.387, allocations: 4.125 kB / 413.3 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.01e-05/0.3871, allocations: 0 / 413.3 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.3871, allocations: 4 kB / 413.3 MB, free: 13.33 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.256e-05/0.3872, allocations: 121.7 kB / 413.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/0.3874, allocations: 77.53 kB / 413.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.3874, allocations: 11.91 kB / 413.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.3874, allocations: 0 / 413.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3874, allocations: 0 / 413.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3874, allocations: 4 kB / 413.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.3876, allocations: 157.7 kB / 413.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3876, allocations: 0 / 413.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.238e-05/0.3876, allocations: 11.98 kB / 413.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.3877, allocations: 3.938 kB / 413.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-06/0.3877, allocations: 4 kB / 413.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3877, allocations: 0 / 413.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3877, allocations: 0 / 413.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.3879, allocations: 105 kB / 413.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.388, allocations: 89.05 kB / 413.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.388, allocations: 3.938 kB / 413.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.309e-05/0.388, allocations: 7.984 kB / 413.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.434e-06/0.388, allocations: 0 / 413.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.388, allocations: 0 / 413.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.133e-05/0.3881, allocations: 83.28 kB / 413.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3881, allocations: 4 kB / 413.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001824/0.3883, allocations: 8 kB / 413.9 MB, free: 12.54 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.0001048/0.3884, allocations: 95.25 kB / 414 MB, free: 12.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001554/0.3886, allocations: 39.78 kB / 414.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3886, allocations: 0 / 414.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.3886, allocations: 4 kB / 414.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.3889, allocations: 36.22 kB / 414.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002822/0.3892, allocations: 118.1 kB / 414.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.3895, allocations: 0.6807 MB / 414.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.503e-05/0.3895, allocations: 3.984 kB / 414.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.698e-05/0.3895, allocations: 11.44 kB / 414.9 MB, free: 11.49 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3895, allocations: 0 / 414.9 MB, free: 11.49 MB / 334.1 MB Notification: Performance of Templates: time 0.002573/0.3921, allocations: 430.9 kB / 415.3 MB, free: 11.08 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile (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 & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins/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