Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.001788/0.001788, allocations: 121.4 kB / 17.79 MB, free: 5.121 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.002158/0.002158, allocations: 190.9 kB / 20.73 MB, free: 2.184 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.372/1.372, allocations: 225.6 MB / 249.1 MB, free: 3.648 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.UpSample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 51.92 kB / 365.6 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0942/0.09561, allocations: 52.15 MB / 417.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.002941/0.09855, allocations: 1.75 MB / 419.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009235/0.09948, allocations: 0.5453 MB / 420.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.119e-05/0.09956, allocations: 3.938 kB / 420.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.255e-05/0.09961, allocations: 15.86 kB / 420.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.09977, allocations: 7.875 kB / 420.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003949/0.1002, allocations: 98.83 kB / 420.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.1003, allocations: 95.69 kB / 420.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1004, allocations: 21.11 kB / 420.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.162e-05/0.1005, allocations: 47.78 kB / 420.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.527e-05/0.1006, allocations: 47.77 kB / 420.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.1006, allocations: 8 kB / 420.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.668e-05/0.1006, allocations: 8 kB / 420.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.555e-05/0.1007, allocations: 19.92 kB / 420.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.207e-05/0.1007, allocations: 55.66 kB / 420.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.1009, allocations: 111.4 kB / 420.6 MB, free: 9.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1009, allocations: 0 / 420.6 MB, free: 9.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1009, allocations: 0 / 420.6 MB, free: 9.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.1009, allocations: 0 / 420.6 MB, free: 9.875 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000594/0.1015, allocations: 434.8 kB / 421 MB, free: 9.402 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1015, allocations: 8.031 kB / 421.1 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.948e-05/0.1016, allocations: 46.73 kB / 421.1 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.1016, allocations: 16.84 kB / 421.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.1019, allocations: 216.1 kB / 421.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.1019, allocations: 8.375 kB / 421.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.102, allocations: 16.38 kB / 421.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004846/0.1025, allocations: 267.4 kB / 421.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1025, allocations: 3.938 kB / 421.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.1025, allocations: 8 kB / 421.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1025, allocations: 0 / 421.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.1026, allocations: 51.91 kB / 421.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003833/0.103, allocations: 306.5 kB / 422 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002423/0.1032, allocations: 127.6 kB / 422.1 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.1034, allocations: 74.77 kB / 422.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.1034, allocations: 8 kB / 422.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.1034, allocations: 42.55 kB / 422.2 MB, free: 8.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/0.1034, allocations: 0 / 422.2 MB, free: 8.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004054/0.1038, allocations: 169.4 kB / 422.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.1039, allocations: 119 kB / 422.5 MB, free: 7.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.1041, allocations: 157.6 kB / 422.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.1041, allocations: 29.7 kB / 422.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.038e-05/0.1042, allocations: 92.14 kB / 422.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.1042, allocations: 19.89 kB / 422.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.579e-05/0.1043, allocations: 37.7 kB / 422.8 MB, free: 7.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1044, allocations: 326.8 kB / 423.1 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.436e-05/0.1045, allocations: 27.92 kB / 423.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.1046, allocations: 130.6 kB / 423.3 MB, free: 6.859 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.1049, allocations: 178.3 kB / 423.5 MB, free: 6.633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/0.1049, allocations: 3.984 kB / 423.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00029/0.1052, allocations: 169.7 kB / 423.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.1052, allocations: 16.08 kB / 423.7 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.1052, allocations: 4.312 kB / 423.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.1052, allocations: 7.938 kB / 423.7 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.1053, allocations: 31.98 kB / 423.7 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.1053, allocations: 11.88 kB / 423.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.215e-05/0.1054, allocations: 15.89 kB / 423.7 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.1055, allocations: 15.98 kB / 423.7 MB, free: 6.355 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 8 ($CLKPRE.upSample2.b_super,upSample2.b_super,$CLKPRE.upSample1.b_super,upSample1.b_super,$CLKPRE.upSample2.b,upSample2.b,$CLKPRE.upSample1.b,upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001197/0.1056, allocations: 137.7 kB / 423.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/0.1058, allocations: 117.9 kB / 424 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.784e-05/0.1058, allocations: 16.81 kB / 424 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.1058, allocations: 7.938 kB / 424 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1058, allocations: 3.938 kB / 424 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1058, allocations: 0 / 424 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.106, allocations: 201.5 kB / 424.2 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1061, allocations: 4 kB / 424.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.1062, allocations: 23.92 kB / 424.3 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.1062, allocations: 4 kB / 424.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.1062, allocations: 4 kB / 424.3 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.1062, allocations: 11.98 kB / 424.3 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.1062, allocations: 3.938 kB / 424.3 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.1065, allocations: 247.1 kB / 424.5 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.1066, allocations: 109 kB / 424.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.1066, allocations: 0 / 424.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.43e-05/0.1067, allocations: 15.94 kB / 424.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.1067, allocations: 3.938 kB / 424.6 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.1068, allocations: 8 kB / 424.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.798e-05/0.1069, allocations: 119.1 kB / 424.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1069, allocations: 0 / 424.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002782/0.1071, allocations: 20 kB / 424.8 MB, free: 5.211 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0008584/0.108, allocations: 0.8505 MB / 425.6 MB, free: 4.328 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002717/0.1083, allocations: 100.5 kB / 425.7 MB, free: 4.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1083, allocations: 4.312 kB / 425.7 MB, free: 4.227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.89e-05/0.1083, allocations: 12 kB / 425.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004911/0.1088, allocations: 80.09 kB / 425.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.1109, allocations: 1.862 MB / 427.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.1113, allocations: 0.7202 MB / 428.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.947e-05/0.1114, allocations: 9.531 kB / 428.4 MB, free: 1.328 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.046e-05/0.1114, allocations: 39.42 kB / 428.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1114, allocations: 0 / 428.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09639/0.2078, allocations: 2.752 MB / 431.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.81/8.018, allocations: 17.3 kB / 431.2 MB, free: 14.64 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1_fmu --startTime=0 --stopTime=0.09 --stepSize=1.78998e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.648284652736038]