Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 107.9 kB / 18.48 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 198.6 kB / 21.43 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 225.6 MB / 249.8 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] 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.TickBasedRamp,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 47.92 kB / 366.4 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09833/0.0998, allocations: 52.14 MB / 418.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002729/0.1025, allocations: 1.462 MB / 420 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002061/0.1027, allocations: 35.84 kB / 420 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.1028, allocations: 7.938 kB / 420 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.609e-05/0.1028, allocations: 3.938 kB / 420 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.629e-05/0.1029, allocations: 3.938 kB / 420 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.1031, allocations: 27.95 kB / 420 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.624e-05/0.1032, allocations: 39.91 kB / 420.1 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.1033, allocations: 8 kB / 420.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.475e-05/0.1034, allocations: 19.92 kB / 420.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.48e-05/0.1034, allocations: 19.91 kB / 420.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.1034, allocations: 4 kB / 420.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.047e-05/0.1034, allocations: 4 kB / 420.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.115e-05/0.1035, allocations: 4 kB / 420.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.285e-05/0.1035, allocations: 27.8 kB / 420.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.1036, allocations: 35.83 kB / 420.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1036, allocations: 0 / 420.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1036, allocations: 4 kB / 420.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1036, allocations: 3.938 kB / 420.2 MB, free: 10.87 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.0005629/0.1042, allocations: 351.4 kB / 420.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.1042, allocations: 16.02 kB / 420.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.223e-05/0.1042, allocations: 12.11 kB / 420.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.918e-05/0.1043, allocations: 30.75 kB / 420.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.634e-05/0.1043, allocations: 4.938 kB / 420.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.1045, allocations: 180.3 kB / 420.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.1046, allocations: 8.375 kB / 420.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.298e-06/0.1046, allocations: 384 / 420.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006001/0.1052, allocations: 159.5 kB / 421 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1052, allocations: 4 kB / 421 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.1052, allocations: 7.984 kB / 421 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1052, allocations: 0 / 421 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000266/0.1055, allocations: 43.95 kB / 421 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.1056, allocations: 169.6 kB / 421.2 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003373/0.106, allocations: 78.45 kB / 421.2 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.1061, allocations: 36.91 kB / 421.3 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.1061, allocations: 4 kB / 421.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.1062, allocations: 34.5 kB / 421.3 MB, free: 9.574 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1062, allocations: 0 / 421.3 MB, free: 9.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005429/0.1067, allocations: 121.5 kB / 421.4 MB, free: 9.449 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.1068, allocations: 55.41 kB / 421.5 MB, free: 9.383 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.238e-05/0.1069, allocations: 109.8 kB / 421.6 MB, free: 9.266 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.1069, allocations: 25.7 kB / 421.6 MB, free: 9.234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.675e-05/0.1069, allocations: 84.14 kB / 421.7 MB, free: 9.148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.421e-05/0.1069, allocations: 4 kB / 421.7 MB, free: 9.145 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.107, allocations: 17.7 kB / 421.7 MB, free: 9.121 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1071, allocations: 314.8 kB / 422 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.362e-05/0.1071, allocations: 8 kB / 422 MB, free: 8.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.461e-05/0.1072, allocations: 31.42 kB / 422.1 MB, free: 8.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.877e-05/0.1072, allocations: 35.38 kB / 422.1 MB, free: 8.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1072, allocations: 4 kB / 422.1 MB, free: 8.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.186e-05/0.1073, allocations: 69.52 kB / 422.2 MB, free: 8.629 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1073, allocations: 7.938 kB / 422.2 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1073, allocations: 4 kB / 422.2 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.1073, allocations: 0 / 422.2 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.997e-05/0.1074, allocations: 8 kB / 422.2 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1074, allocations: 3.938 kB / 422.2 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.017e-05/0.1074, allocations: 7.938 kB / 422.2 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-06/0.1074, allocations: 128 / 422.2 MB, free: 8.598 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.337e-05/0.1075, allocations: 117.8 kB / 422.3 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003165/0.1078, allocations: 93.73 kB / 422.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.647e-05/0.1078, allocations: 7.906 kB / 422.4 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.1078, allocations: 4 kB / 422.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1079, allocations: 0 / 422.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1079, allocations: 0 / 422.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.108, allocations: 161.6 kB / 422.6 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.108, allocations: 0 / 422.6 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.1081, allocations: 19.91 kB / 422.6 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1081, allocations: 11.94 kB / 422.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.1081, allocations: 0 / 422.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1081, allocations: 128 / 422.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.1081, allocations: 4 kB / 422.6 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003363/0.1084, allocations: 113.1 kB / 422.7 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.98e-05/0.1085, allocations: 85 kB / 422.8 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.1085, allocations: 0 / 422.8 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.57e-05/0.1086, allocations: 11.98 kB / 422.8 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.154e-06/0.1086, allocations: 4 kB / 422.8 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.1086, allocations: 0 / 422.8 MB, free: 7.867 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.154e-05/0.1086, allocations: 91.56 kB / 422.9 MB, free: 7.777 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1086, allocations: 0 / 422.9 MB, free: 7.777 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000185/0.1088, allocations: 8 kB / 422.9 MB, free: 7.77 MB / 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.0008181/0.1096, allocations: 0.6904 MB / 423.6 MB, free: 7.051 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.1098, allocations: 43.91 kB / 423.7 MB, free: 7.008 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1098, allocations: 3.938 kB / 423.7 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.71e-07/0.1098, allocations: 0 / 423.7 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.1102, allocations: 47.97 kB / 423.7 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.1114, allocations: 1.189 MB / 424.9 MB, free: 5.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.1117, allocations: 0.6883 MB / 425.6 MB, free: 4.953 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.164e-05/0.1117, allocations: 4 kB / 425.6 MB, free: 4.949 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.803e-05/0.1117, allocations: 11.42 kB / 425.6 MB, free: 4.938 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1117, allocations: 0 / 425.6 MB, free: 4.938 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01684/0.1286, allocations: 1.561 MB / 427.2 MB, free: 3.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.803/7.932, allocations: 11.98 kB / 427.2 MB, free: 3.508 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.285036881046835]