Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_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_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001242/0.001242, allocations: 196.9 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 226.6 MB / 244.3 MB, free: 8.32 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008694/0.0008695, allocations: 86.88 kB / 296.4 MB, free: 7.035 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003275, allocations: 4 kB / 356.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2355, allocations: 51.29 MB / 407.5 MB, free: 27.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.001321/0.2368, allocations: 1.189 MB / 408.7 MB, free: 26.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005206/0.2374, allocations: 426 kB / 409.1 MB, free: 26.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.519e-05/0.2374, allocations: 0 / 409.1 MB, free: 26.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.54e-05/0.2375, allocations: 3.938 kB / 409.1 MB, free: 26.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.267e-05/0.2375, allocations: 5.344 kB / 409.1 MB, free: 26.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.2378, allocations: 23.91 kB / 409.1 MB, free: 26.21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.827e-05/0.2378, allocations: 31.86 kB / 409.2 MB, free: 26.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.13e-05/0.2379, allocations: 8.531 kB / 409.2 MB, free: 26.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.582e-05/0.238, allocations: 17.92 kB / 409.2 MB, free: 26.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.622e-05/0.238, allocations: 19.86 kB / 409.2 MB, free: 26.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.238, allocations: 3.984 kB / 409.2 MB, free: 26.14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.012e-05/0.2381, allocations: 0 / 409.2 MB, free: 26.14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.57e-05/0.2381, allocations: 4 kB / 409.2 MB, free: 26.13 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.871e-05/0.2381, allocations: 34.14 kB / 409.3 MB, free: 26.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.48e-05/0.2382, allocations: 23.95 kB / 409.3 MB, free: 26.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2382, allocations: 1.781 kB / 409.3 MB, free: 26.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2382, allocations: 0 / 409.3 MB, free: 26.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.905e-06/0.2382, allocations: 0 / 409.3 MB, free: 26.07 MB / 298.7 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.0003698/0.2386, allocations: 349.2 kB / 409.6 MB, free: 25.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2386, allocations: 8.656 kB / 409.6 MB, free: 25.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.809e-05/0.2387, allocations: 8.938 kB / 409.6 MB, free: 25.67 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.2388, allocations: 171.1 kB / 409.8 MB, free: 25.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.2388, allocations: 3.812 kB / 409.8 MB, free: 25.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.2388, allocations: 4 kB / 409.8 MB, free: 25.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003938/0.2392, allocations: 160.8 kB / 410 MB, free: 25.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.2392, allocations: 0 / 410 MB, free: 25.29 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.2393, allocations: 4 kB / 410 MB, free: 25.29 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2393, allocations: 0 / 410 MB, free: 25.29 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.2394, allocations: 47.95 kB / 410 MB, free: 25.24 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.596e-05/0.2395, allocations: 161.7 kB / 410.2 MB, free: 25.03 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.2398, allocations: 94.45 kB / 410.3 MB, free: 24.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.706e-05/0.2399, allocations: 44.91 kB / 410.3 MB, free: 24.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.2399, allocations: 4 kB / 410.3 MB, free: 24.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.437e-05/0.2399, allocations: 38.5 kB / 410.4 MB, free: 24.83 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.2399, allocations: 0 / 410.4 MB, free: 24.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003219/0.2403, allocations: 113.5 kB / 410.5 MB, free: 24.71 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.2403, allocations: 55.41 kB / 410.5 MB, free: 24.65 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.088e-05/0.2404, allocations: 105.8 kB / 410.6 MB, free: 24.54 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.216e-06/0.2404, allocations: 29.7 kB / 410.6 MB, free: 24.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.1e-05/0.2404, allocations: 88.08 kB / 410.7 MB, free: 24.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.841e-06/0.2404, allocations: 3.984 kB / 410.7 MB, free: 24.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-06/0.2404, allocations: 0 / 410.7 MB, free: 24.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.062e-05/0.2405, allocations: 318.8 kB / 411.1 MB, free: 24.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.005e-06/0.2405, allocations: 0 / 411.1 MB, free: 24.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.79e-05/0.2405, allocations: 31.42 kB / 411.1 MB, free: 24.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.687e-05/0.2405, allocations: 11.94 kB / 411.1 MB, free: 24.03 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2405, allocations: 0 / 411.1 MB, free: 24.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.724e-05/0.2406, allocations: 49.64 kB / 411.1 MB, free: 23.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.2406, allocations: 11.94 kB / 411.2 MB, free: 23.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2406, allocations: 7.938 kB / 411.2 MB, free: 23.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.2407, allocations: 3.938 kB / 411.2 MB, free: 23.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.622e-05/0.2407, allocations: 8 kB / 411.2 MB, free: 23.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.2407, allocations: 0 / 411.2 MB, free: 23.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.814e-05/0.2407, allocations: 8.125 kB / 411.2 MB, free: 23.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-06/0.2407, allocations: 4 kB / 411.2 MB, free: 23.93 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.928e-05/0.2408, allocations: 113.8 kB / 411.3 MB, free: 23.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/0.241, allocations: 89.56 kB / 411.4 MB, free: 23.72 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.643e-05/0.241, allocations: 11.91 kB / 411.4 MB, free: 23.7 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.241, allocations: 7.891 kB / 411.4 MB, free: 23.69 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.241, allocations: 0 / 411.4 MB, free: 23.69 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.241, allocations: 7.984 kB / 411.4 MB, free: 23.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.958e-05/0.2411, allocations: 153.7 kB / 411.6 MB, free: 23.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.2411, allocations: 0 / 411.6 MB, free: 23.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.846e-05/0.2412, allocations: 11.98 kB / 411.6 MB, free: 23.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2412, allocations: 4 kB / 411.6 MB, free: 23.46 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.2412, allocations: 0 / 411.6 MB, free: 23.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2412, allocations: 0 / 411.6 MB, free: 23.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2412, allocations: 7.953 kB / 411.6 MB, free: 23.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.2414, allocations: 113.1 kB / 411.7 MB, free: 23.33 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.814e-05/0.2414, allocations: 81.02 kB / 411.8 MB, free: 23.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.2414, allocations: 4 kB / 411.8 MB, free: 23.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.777e-05/0.2415, allocations: 11.98 kB / 411.8 MB, free: 23.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.625e-06/0.2415, allocations: 0 / 411.8 MB, free: 23.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.2415, allocations: 3.953 kB / 411.8 MB, free: 23.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.459e-05/0.2415, allocations: 91.58 kB / 411.9 MB, free: 23.12 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2415, allocations: 3.938 kB / 411.9 MB, free: 23.12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001667/0.2417, allocations: 4 kB / 411.9 MB, free: 23.11 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.911e-05/0.2418, allocations: 103.2 kB / 412 MB, free: 23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000144/0.242, allocations: 31.98 kB / 412 MB, free: 22.97 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.242, allocations: 0 / 412 MB, free: 22.97 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.242, allocations: 0 / 412 MB, free: 22.97 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.2423, allocations: 48.09 kB / 412.1 MB, free: 22.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000251/0.2426, allocations: 151 kB / 412.2 MB, free: 22.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.2427, allocations: 0.6809 MB / 412.9 MB, free: 22.04 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.97e-05/0.2427, allocations: 7.438 kB / 412.9 MB, free: 22.03 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2427, allocations: 0 / 412.9 MB, free: 22.03 MB / 298.7 MB Notification: Performance of Templates: time 0.001614/0.2443, allocations: 0.603 MB / 413.5 MB, free: 21.43 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches