Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 116.2 kB / 18.49 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 219 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.398/1.398, allocations: 230.6 MB / 254.8 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 52.06 kB / 373.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09866/0.1004, allocations: 53.34 MB / 427 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002867/0.1032, allocations: 1.468 MB / 428.5 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00021/0.1034, allocations: 39.84 kB / 428.5 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.415e-05/0.1035, allocations: 4 kB / 428.5 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.922e-05/0.1035, allocations: 7.922 kB / 428.6 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.853e-05/0.1036, allocations: 3.938 kB / 428.6 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.1038, allocations: 23.97 kB / 428.6 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.1039, allocations: 35.92 kB / 428.6 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.523e-05/0.104, allocations: 15.97 kB / 428.6 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.054e-05/0.1041, allocations: 15.92 kB / 428.6 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.009e-05/0.1041, allocations: 23.91 kB / 428.7 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.1042, allocations: 0 / 428.7 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.727e-06/0.1042, allocations: 4 kB / 428.7 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.178e-05/0.1042, allocations: 8 kB / 428.7 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.039e-05/0.1042, allocations: 23.86 kB / 428.7 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.1043, allocations: 39.81 kB / 428.7 MB, free: 3.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.1043, allocations: 4 kB / 428.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1043, allocations: 0 / 428.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1044, allocations: 0 / 428.7 MB, free: 3.086 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.0005737/0.1049, allocations: 355.3 kB / 429.1 MB, free: 2.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.105, allocations: 8.031 kB / 429.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.423e-05/0.105, allocations: 4.188 kB / 429.1 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.523e-05/0.105, allocations: 42.73 kB / 429.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.558e-05/0.105, allocations: 4.891 kB / 429.2 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.1053, allocations: 184.2 kB / 429.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.1053, allocations: 4.375 kB / 429.3 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.1053, allocations: 8.375 kB / 429.3 MB, free: 2.391 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005736/0.1059, allocations: 155.5 kB / 429.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1059, allocations: 3.938 kB / 429.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.1059, allocations: 4 kB / 429.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.1059, allocations: 0 / 429.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000269/0.1062, allocations: 47.94 kB / 429.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000163/0.1064, allocations: 157.7 kB / 429.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003323/0.1067, allocations: 86.53 kB / 429.8 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.1068, allocations: 36.88 kB / 429.8 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.1069, allocations: 0 / 429.8 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.1069, allocations: 38.5 kB / 429.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.1069, allocations: 3.938 kB / 429.9 MB, free: 1.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005011/0.1074, allocations: 113.6 kB / 430 MB, free: 1.668 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.1074, allocations: 55.41 kB / 430 MB, free: 1.602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.428e-05/0.1075, allocations: 105.8 kB / 430.1 MB, free: 1.488 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.1076, allocations: 29.7 kB / 430.2 MB, free: 1.453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.29e-05/0.1076, allocations: 80.14 kB / 430.2 MB, free: 1.371 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.1076, allocations: 11.95 kB / 430.3 MB, free: 1.359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.486e-05/0.1077, allocations: 13.72 kB / 430.3 MB, free: 1.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1078, allocations: 326.8 kB / 430.6 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.378e-05/0.1078, allocations: 4 kB / 430.6 MB, free: 1.008 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.518e-05/0.1079, allocations: 31.38 kB / 430.6 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.189e-05/0.1079, allocations: 39.42 kB / 430.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1079, allocations: 0 / 430.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.436e-05/0.108, allocations: 57.58 kB / 430.7 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.108, allocations: 7.938 kB / 430.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.108, allocations: 0 / 430.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.108, allocations: 7.984 kB / 430.7 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.829e-05/0.1081, allocations: 8.125 kB / 430.7 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1081, allocations: 4 kB / 430.7 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.031e-05/0.1081, allocations: 4 kB / 430.7 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.1081, allocations: 4 kB / 430.8 MB, free: 0.8164 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.77e-05/0.1082, allocations: 113.8 kB / 430.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003118/0.1085, allocations: 97.7 kB / 431 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.13e-05/0.1086, allocations: 3.906 kB / 431 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1086, allocations: 7.969 kB / 431 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1086, allocations: 0 / 431 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1086, allocations: 4 kB / 431 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.1087, allocations: 157.7 kB / 431.1 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1087, allocations: 4 kB / 431.1 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.1088, allocations: 15.98 kB / 431.1 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1088, allocations: 3.938 kB / 431.2 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.1088, allocations: 4.109 kB / 431.2 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1088, allocations: 4 kB / 431.2 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1088, allocations: 4 kB / 431.2 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.1092, allocations: 121 kB / 431.3 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.81e-05/0.1092, allocations: 85.05 kB / 431.4 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.1092, allocations: 0 / 431.4 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.136e-05/0.1093, allocations: 7.984 kB / 431.4 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-06/0.1093, allocations: 0 / 431.4 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.1093, allocations: 4 kB / 431.4 MB, free: 80 kB / 350.1 MB Notification: Performance of sorting global known variables: time 7.254e-05/0.1094, allocations: 91.52 kB / 431.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1094, allocations: 0 / 431.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001837/0.1096, allocations: 4 kB / 431.5 MB, free: 15.98 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: 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.000873/0.1104, allocations: 0.6982 MB / 432.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002325/0.1107, allocations: 39.97 kB / 432.2 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1107, allocations: 0 / 432.2 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.31e-07/0.1107, allocations: 0 / 432.2 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.1111, allocations: 40.23 kB / 432.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.1123, allocations: 1.199 MB / 433.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.1127, allocations: 0.6807 MB / 434.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.597e-05/0.1127, allocations: 4 kB / 434.1 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.158e-05/0.1127, allocations: 19.42 kB / 434.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1127, allocations: 0 / 434.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.1303, allocations: 1.546 MB / 435.7 MB, free: 11.74 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.811/7.941, allocations: 8.953 kB / 435.7 MB, free: 11.73 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.498625025968067]