Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 101.8 kB / 16.51 MB, free: 6.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 194.5 kB / 17.43 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.638/1.638, allocations: 222.9 MB / 241.1 MB, free: 15.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 42.89 kB / 300.1 MB, free: 6.207 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1331, allocations: 49.44 MB / 349.5 MB, free: 4.754 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.004321/0.1375, allocations: 1.534 MB / 351 MB, free: 3.203 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.1386, allocations: 411 kB / 351.4 MB, free: 2.797 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.1387, allocations: 0 / 351.4 MB, free: 2.797 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.457e-05/0.1389, allocations: 0 / 351.4 MB, free: 2.797 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.139, allocations: 11.94 kB / 351.5 MB, free: 2.785 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004105/0.1395, allocations: 27.95 kB / 351.5 MB, free: 2.758 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.1396, allocations: 39.8 kB / 351.5 MB, free: 2.719 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001948/0.1398, allocations: 8 kB / 351.5 MB, free: 2.711 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.541e-05/0.1399, allocations: 19.91 kB / 351.5 MB, free: 2.691 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.388e-05/0.14, allocations: 11.94 kB / 351.6 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.339e-05/0.1401, allocations: 0 / 351.6 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.219e-05/0.1401, allocations: 4 kB / 351.6 MB, free: 2.676 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.182e-05/0.1401, allocations: 7.984 kB / 351.6 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.684e-05/0.1402, allocations: 19.88 kB / 351.6 MB, free: 2.648 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.1404, allocations: 27.89 kB / 351.6 MB, free: 2.621 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.1404, allocations: 0 / 351.6 MB, free: 2.621 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1404, allocations: 0 / 351.6 MB, free: 2.621 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.1404, allocations: 0 / 351.6 MB, free: 2.621 MB / 286.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.0007068/0.1411, allocations: 351.6 kB / 352 MB, free: 2.23 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/0.1412, allocations: 12.03 kB / 352 MB, free: 2.219 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.269e-05/0.1412, allocations: 34.73 kB / 352 MB, free: 2.176 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.1413, allocations: 8.875 kB / 352 MB, free: 2.168 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.1415, allocations: 188.2 kB / 352.2 MB, free: 1.945 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.1415, allocations: 384 / 352.2 MB, free: 1.945 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.1416, allocations: 4.375 kB / 352.2 MB, free: 1.941 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005095/0.1421, allocations: 135.4 kB / 352.3 MB, free: 1.797 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.1421, allocations: 4 kB / 352.3 MB, free: 1.793 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.1421, allocations: 0 / 352.3 MB, free: 1.793 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.1422, allocations: 4 kB / 352.3 MB, free: 1.789 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.1423, allocations: 39.89 kB / 352.4 MB, free: 1.75 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001918/0.1425, allocations: 165.6 kB / 352.5 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.1428, allocations: 78.52 kB / 352.6 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.1429, allocations: 36.91 kB / 352.7 MB, free: 1.414 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.143, allocations: 0 / 352.7 MB, free: 1.414 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.143, allocations: 34.5 kB / 352.7 MB, free: 1.371 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.723e-06/0.143, allocations: 0 / 352.7 MB, free: 1.371 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004575/0.1435, allocations: 109.5 kB / 352.8 MB, free: 1.258 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.42e-05/0.1436, allocations: 51.41 kB / 352.8 MB, free: 1.195 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.1437, allocations: 105.8 kB / 353 MB, free: 1.082 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.1437, allocations: 25.7 kB / 353 MB, free: 1.051 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.362e-05/0.1438, allocations: 88.14 kB / 353.1 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.039e-05/0.1438, allocations: 0 / 353.1 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.848e-05/0.1439, allocations: 17.72 kB / 353.1 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.144, allocations: 322.8 kB / 353.4 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.027e-05/0.1441, allocations: 8 kB / 353.4 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.093e-05/0.1441, allocations: 23.44 kB / 353.4 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.828e-05/0.1442, allocations: 39.38 kB / 353.5 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1442, allocations: 0 / 353.5 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001004/0.1443, allocations: 61.5 kB / 353.5 MB, free: 464 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.1443, allocations: 8 kB / 353.5 MB, free: 456 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1443, allocations: 288 / 353.5 MB, free: 456 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.1444, allocations: 0 / 353.5 MB, free: 456 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.306e-05/0.1444, allocations: 8 kB / 353.5 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.1444, allocations: 3.984 kB / 353.5 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.739e-05/0.1445, allocations: 8.125 kB / 353.6 MB, free: 436 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.1445, allocations: 0 / 353.6 MB, free: 436 kB / 286.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 0.0001116/0.1446, allocations: 113.8 kB / 353.7 MB, free: 312 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002545/0.1449, allocations: 85.42 kB / 353.7 MB, free: 220 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.372e-05/0.1449, allocations: 11.91 kB / 353.8 MB, free: 200 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1449, allocations: 0 / 353.8 MB, free: 200 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.1449, allocations: 0 / 353.8 MB, free: 200 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.145, allocations: 0 / 353.8 MB, free: 200 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.1451, allocations: 161.7 kB / 353.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1451, allocations: 3.938 kB / 353.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.563e-05/0.1452, allocations: 15.92 kB / 353.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1452, allocations: 4 kB / 353.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1452, allocations: 0 / 353.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.1453, allocations: 0 / 353.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1453, allocations: 0 / 353.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.1455, allocations: 101.1 kB / 354 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-05/0.1456, allocations: 92.94 kB / 354.1 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.1456, allocations: 3.938 kB / 354.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.849e-05/0.1457, allocations: 4 kB / 354.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-06/0.1457, allocations: 0 / 354.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.1457, allocations: 0 / 354.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.232e-05/0.1458, allocations: 95.56 kB / 354.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1458, allocations: 0 / 354.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000213/0.146, allocations: 4 kB / 354.2 MB, free: 15.63 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.0007147/0.1467, allocations: 0.6397 MB / 354.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002005/0.1469, allocations: 36.05 kB / 354.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1469, allocations: 4.062 kB / 354.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.1469, allocations: 0 / 354.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005208/0.1475, allocations: 36 kB / 354.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.1489, allocations: 1.167 MB / 356.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.1493, allocations: 0.6848 MB / 356.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.623e-05/0.1493, allocations: 4 kB / 356.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.309e-05/0.1494, allocations: 7.438 kB / 356.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of SimCode: time 3.646e-06/0.1494, allocations: 0 / 356.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01378/0.1632, allocations: 1.217 MB / 358 MB, free: 11.8 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002348/0.1635, allocations: 211.2 kB / 358.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.901/2.064, allocations: 4 kB / 358.2 MB, free: 11.55 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches