Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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.001818/0.001818, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.001478/0.001478, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.411/1.411, allocations: 230.2 MB / 254.5 MB, free: 15.41 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.TickBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 64.11 kB / 373.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1093, allocations: 53.32 MB / 426.7 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002881/0.1122, allocations: 1.484 MB / 428.1 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002163/0.1124, allocations: 39.91 kB / 428.2 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.001e-05/0.1125, allocations: 0 / 428.2 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.063e-05/0.1125, allocations: 3.938 kB / 428.2 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.996e-05/0.1126, allocations: 3.938 kB / 428.2 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.1129, allocations: 27.95 kB / 428.2 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.113, allocations: 35.92 kB / 428.3 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.1131, allocations: 8 kB / 428.3 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.758e-05/0.1131, allocations: 15.92 kB / 428.3 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.814e-05/0.1132, allocations: 19.91 kB / 428.3 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.1132, allocations: 4 kB / 428.3 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.292e-05/0.1132, allocations: 8 kB / 428.3 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.178e-05/0.1132, allocations: 7.984 kB / 428.3 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.309e-05/0.1133, allocations: 19.88 kB / 428.3 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.1134, allocations: 47.69 kB / 428.4 MB, free: 3.301 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.1134, allocations: 0 / 428.4 MB, free: 3.301 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1134, allocations: 0 / 428.4 MB, free: 3.301 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.1134, allocations: 0 / 428.4 MB, free: 3.301 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.0005927/0.114, allocations: 355.4 kB / 428.7 MB, free: 2.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.1141, allocations: 12.03 kB / 428.7 MB, free: 2.891 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.053e-05/0.1141, allocations: 34.75 kB / 428.8 MB, free: 2.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.979e-05/0.1141, allocations: 12.89 kB / 428.8 MB, free: 2.836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.1144, allocations: 180.3 kB / 429 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.1144, allocations: 8.359 kB / 429 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.1144, allocations: 384 / 429 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005674/0.115, allocations: 155.7 kB / 429.1 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.115, allocations: 3.938 kB / 429.1 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-06/0.115, allocations: 4 kB / 429.1 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.115, allocations: 0 / 429.1 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002448/0.1153, allocations: 51.94 kB / 429.2 MB, free: 2.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001834/0.1155, allocations: 157.7 kB / 429.3 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003155/0.1158, allocations: 82.45 kB / 429.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.1159, allocations: 44.88 kB / 429.5 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.1159, allocations: 0 / 429.5 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.116, allocations: 38.56 kB / 429.5 MB, free: 2.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 6.91e-07/0.116, allocations: 0 / 429.5 MB, free: 2.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004567/0.1164, allocations: 113.5 kB / 429.6 MB, free: 1.887 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.1165, allocations: 55.34 kB / 429.7 MB, free: 1.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.3e-05/0.1166, allocations: 113.8 kB / 429.8 MB, free: 1.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.1166, allocations: 25.7 kB / 429.8 MB, free: 1.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.112e-05/0.1166, allocations: 84.14 kB / 429.9 MB, free: 1.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.1167, allocations: 7.938 kB / 429.9 MB, free: 1.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.1167, allocations: 21.72 kB / 429.9 MB, free: 1.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1168, allocations: 314.8 kB / 430.2 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.377e-05/0.1168, allocations: 4 kB / 430.2 MB, free: 1.227 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.631e-05/0.1169, allocations: 39.36 kB / 430.3 MB, free: 1.176 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.147e-05/0.1169, allocations: 39.38 kB / 430.3 MB, free: 1.125 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1169, allocations: 0 / 430.3 MB, free: 1.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.936e-05/0.117, allocations: 57.62 kB / 430.4 MB, free: 1.062 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.117, allocations: 10.12 kB / 430.4 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.117, allocations: 4 kB / 430.4 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1171, allocations: 0 / 430.4 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.436e-05/0.1171, allocations: 16.06 kB / 430.4 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.1171, allocations: 7.984 kB / 430.4 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.048e-05/0.1171, allocations: 4 kB / 430.4 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.1172, allocations: 0 / 430.4 MB, free: 1.023 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: 2 ($CLKPRE.ramp.counter,ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.636e-05/0.1172, allocations: 113.8 kB / 430.5 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002727/0.1175, allocations: 93.53 kB / 430.6 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.903e-05/0.1175, allocations: 3.906 kB / 430.6 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1175, allocations: 0 / 430.6 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1176, allocations: 7.984 kB / 430.6 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1176, allocations: 0 / 430.6 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.1177, allocations: 165.7 kB / 430.8 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1177, allocations: 0 / 430.8 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.346e-05/0.1178, allocations: 15.92 kB / 430.8 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.874e-06/0.1178, allocations: 7.938 kB / 430.8 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.1178, allocations: 0 / 430.8 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1178, allocations: 0 / 430.8 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1178, allocations: 0 / 430.8 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.1181, allocations: 117 kB / 430.9 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.1181, allocations: 81.11 kB / 431 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.1181, allocations: 3.938 kB / 431 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.357e-05/0.1182, allocations: 11.98 kB / 431 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-06/0.1182, allocations: 0 / 431 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.1182, allocations: 8.109 kB / 431 MB, free: 300 kB / 350.1 MB Notification: Performance of sorting global known variables: time 4.931e-05/0.1183, allocations: 83.28 kB / 431.1 MB, free: 216 kB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1183, allocations: 0 / 431.1 MB, free: 216 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.000184/0.1185, allocations: 11.94 kB / 431.1 MB, free: 204 kB / 350.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: 1 (ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.counter) * 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.0008115/0.1193, allocations: 0.6868 MB / 431.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002177/0.1195, allocations: 55.88 kB / 431.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1195, allocations: 0 / 431.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.21e-07/0.1195, allocations: 0 / 431.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.1199, allocations: 36 kB / 431.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.121, allocations: 1.197 MB / 433.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.1213, allocations: 0.6846 MB / 433.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.254e-05/0.1213, allocations: 0 / 433.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.457e-05/0.1214, allocations: 19.44 kB / 433.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1214, allocations: 0 / 433.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.1455, allocations: 1.511 MB / 435.3 MB, free: 11.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.581/7.726, allocations: 7.859 kB / 435.3 MB, free: 11.96 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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.2187046459876]