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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001798/0.001798, allocations: 122.7 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002156/0.002156, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 67.89 kB / 373.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1082, allocations: 53.32 MB / 426.7 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002645/0.1108, allocations: 1.49 MB / 428.2 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007934/0.1116, allocations: 446.9 kB / 428.6 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.206e-05/0.1117, allocations: 7.938 kB / 428.6 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.099e-05/0.1117, allocations: 3.984 kB / 428.6 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.732e-05/0.1118, allocations: 7.922 kB / 428.6 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002242/0.112, allocations: 23.92 kB / 428.6 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.183e-05/0.1121, allocations: 35.91 kB / 428.7 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.789e-05/0.1122, allocations: 8 kB / 428.7 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.267e-05/0.1123, allocations: 23.86 kB / 428.7 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.073e-05/0.1123, allocations: 15.92 kB / 428.7 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.1123, allocations: 4 kB / 428.7 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-06/0.1123, allocations: 4 kB / 428.7 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.466e-05/0.1124, allocations: 11.94 kB / 428.7 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.18e-05/0.1124, allocations: 15.92 kB / 428.8 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.864e-05/0.1125, allocations: 35.83 kB / 428.8 MB, free: 2.855 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1125, allocations: 3.984 kB / 428.8 MB, free: 2.852 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1125, allocations: 3.938 kB / 428.8 MB, free: 2.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.1125, allocations: 0 / 428.8 MB, free: 2.848 MB / 350.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.0004919/0.113, allocations: 343.4 kB / 429.1 MB, free: 2.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.1131, allocations: 16.03 kB / 429.2 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.675e-05/0.1131, allocations: 34.75 kB / 429.2 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.855e-05/0.1131, allocations: 8.891 kB / 429.2 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.1133, allocations: 176.3 kB / 429.4 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.1134, allocations: 4.375 kB / 429.4 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.1134, allocations: 4.375 kB / 429.4 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004232/0.1138, allocations: 139.4 kB / 429.5 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1138, allocations: 0 / 429.5 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-06/0.1138, allocations: 0 / 429.5 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.1138, allocations: 8 kB / 429.5 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.114, allocations: 39.95 kB / 429.6 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.1141, allocations: 161.7 kB / 429.7 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.1144, allocations: 78.45 kB / 429.8 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.917e-05/0.1145, allocations: 36.89 kB / 429.8 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.1145, allocations: 0 / 429.8 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.1145, allocations: 38.5 kB / 429.9 MB, free: 1.605 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.1145, allocations: 4 kB / 429.9 MB, free: 1.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003618/0.1149, allocations: 93.58 kB / 430 MB, free: 1.504 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.115, allocations: 59.41 kB / 430 MB, free: 1.434 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.121e-05/0.115, allocations: 109.8 kB / 430.1 MB, free: 1.316 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.1151, allocations: 25.7 kB / 430.2 MB, free: 1.285 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.109e-05/0.1151, allocations: 88.08 kB / 430.2 MB, free: 1.195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.005e-06/0.1151, allocations: 3.984 kB / 430.2 MB, free: 1.191 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.1151, allocations: 17.72 kB / 430.3 MB, free: 1.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1153, allocations: 314.8 kB / 430.6 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.341e-05/0.1153, allocations: 4 kB / 430.6 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.559e-05/0.1153, allocations: 27.42 kB / 430.6 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.89e-05/0.1154, allocations: 39.38 kB / 430.6 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1154, allocations: 0 / 430.6 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.067e-05/0.1155, allocations: 61.52 kB / 430.7 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.1155, allocations: 4 kB / 430.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1155, allocations: 128 / 430.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.1155, allocations: 11.94 kB / 430.7 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.945e-05/0.1155, allocations: 7.938 kB / 430.7 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.1156, allocations: 4 kB / 430.7 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.321e-05/0.1156, allocations: 7.938 kB / 430.7 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.1156, allocations: 4 kB / 430.7 MB, free: 0.6523 MB / 350.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.037e-05/0.1157, allocations: 105.8 kB / 430.8 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/0.1158, allocations: 81.55 kB / 430.9 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.565e-05/0.1159, allocations: 15.89 kB / 430.9 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.1159, allocations: 3.938 kB / 430.9 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1159, allocations: 4 kB / 430.9 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.1159, allocations: 0 / 430.9 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.116, allocations: 157.7 kB / 431.1 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.116, allocations: 0 / 431.1 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.005e-05/0.1161, allocations: 15.92 kB / 431.1 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1161, allocations: 0 / 431.1 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.1161, allocations: 0 / 431.1 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1161, allocations: 0 / 431.1 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1161, allocations: 4 kB / 431.1 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002105/0.1163, allocations: 101.1 kB / 431.2 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.171e-05/0.1164, allocations: 85 kB / 431.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.1164, allocations: 0 / 431.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.497e-05/0.1164, allocations: 7.984 kB / 431.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-06/0.1164, allocations: 4 kB / 431.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.1164, allocations: 8.375 kB / 431.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.473e-05/0.1165, allocations: 87.27 kB / 431.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1165, allocations: 3.938 kB / 431.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001907/0.1167, allocations: 4 kB / 431.4 MB, free: 15.86 MB / 366.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.0005458/0.1172, allocations: 0.6436 MB / 432.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001494/0.1174, allocations: 31.91 kB / 432.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1174, allocations: 3.938 kB / 432.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.1174, allocations: 4 kB / 432.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.1177, allocations: 32 kB / 432.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.1187, allocations: 1.174 MB / 433.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.119, allocations: 0.6808 MB / 434 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.264e-05/0.119, allocations: 0 / 434 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.643e-05/0.1191, allocations: 19.38 kB / 434 MB, free: 13.12 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1191, allocations: 4 kB / 434 MB, free: 13.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02233/0.1414, allocations: 1.354 MB / 435.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.422/7.563, allocations: 19.83 kB / 435.4 MB, free: 11.86 MB / 366.1 MB " [Timeout remaining time 652] (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 --stepSize=0.000199561 --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) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.067007290199399]