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.001583/0.001583, allocations: 113 kB / 18.45 MB, free: 4.602 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.001357/0.001357, allocations: 190.9 kB / 21.4 MB, free: 1.664 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.459/1.459, allocations: 225.6 MB / 249.8 MB, free: 3.73 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 55.91 kB / 366.8 MB, free: 348 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09702/0.09853, allocations: 52.14 MB / 419 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003134/0.1017, allocations: 1.748 MB / 420.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.1027, allocations: 0.5453 MB / 421.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.739e-05/0.1028, allocations: 7.938 kB / 421.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.004e-05/0.1028, allocations: 11.86 kB / 421.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.103, allocations: 11.86 kB / 421.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004068/0.1034, allocations: 103.6 kB / 421.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.1035, allocations: 91.77 kB / 421.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1036, allocations: 21.11 kB / 421.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.898e-05/0.1037, allocations: 47.7 kB / 421.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.58e-05/0.1038, allocations: 43.78 kB / 421.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.1038, allocations: 8 kB / 421.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.811e-05/0.1038, allocations: 8 kB / 421.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.178e-05/0.1039, allocations: 23.92 kB / 421.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.573e-05/0.104, allocations: 51.66 kB / 421.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.1042, allocations: 111.5 kB / 421.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1042, allocations: 3.938 kB / 421.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1042, allocations: 4 kB / 421.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.1042, allocations: 0 / 421.8 MB, free: 9.258 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.0005939/0.1048, allocations: 422.8 kB / 422.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.1048, allocations: 15.89 kB / 422.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.819e-05/0.1048, allocations: 16.84 kB / 422.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.1052, allocations: 216.1 kB / 422.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.1052, allocations: 16.38 kB / 422.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.1052, allocations: 8.375 kB / 422.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005205/0.1057, allocations: 275.5 kB / 422.7 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1057, allocations: 0 / 422.7 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1057, allocations: 0 / 422.7 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.1058, allocations: 11.92 kB / 422.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.1059, allocations: 55.91 kB / 422.8 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003976/0.1063, allocations: 306.5 kB / 423.1 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.1065, allocations: 127.9 kB / 423.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.1067, allocations: 70.61 kB / 423.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.1067, allocations: 0 / 423.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.1067, allocations: 34.56 kB / 423.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.022e-06/0.1067, allocations: 0 / 423.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004292/0.1072, allocations: 177.6 kB / 423.5 MB, free: 7.328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.241e-05/0.1072, allocations: 122.9 kB / 423.6 MB, free: 7.184 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.1074, allocations: 153.5 kB / 423.8 MB, free: 7.027 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.1074, allocations: 29.7 kB / 423.8 MB, free: 6.992 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.447e-05/0.1075, allocations: 92.12 kB / 423.9 MB, free: 6.898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.1075, allocations: 19.89 kB / 423.9 MB, free: 6.879 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.144e-05/0.1075, allocations: 33.72 kB / 423.9 MB, free: 6.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1077, allocations: 330.8 kB / 424.3 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.397e-05/0.1078, allocations: 27.98 kB / 424.3 MB, free: 6.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.1079, allocations: 130.6 kB / 424.4 MB, free: 6.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.1081, allocations: 182.3 kB / 424.6 MB, free: 6.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1081, allocations: 0 / 424.6 MB, free: 6.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000301/0.1084, allocations: 185.5 kB / 424.8 MB, free: 5.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1084, allocations: 6.188 kB / 424.8 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1084, allocations: 4 kB / 424.8 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.1085, allocations: 8 kB / 424.8 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.1086, allocations: 28.3 kB / 424.8 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.1086, allocations: 8 kB / 424.8 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.799e-05/0.1087, allocations: 23.81 kB / 424.9 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.1087, allocations: 8 kB / 424.9 MB, free: 5.801 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.000123/0.1088, allocations: 146.1 kB / 425 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.109, allocations: 117.5 kB / 425.1 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.235e-05/0.1091, allocations: 20.72 kB / 425.1 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1091, allocations: 0 / 425.1 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.1091, allocations: 3.984 kB / 425.1 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.1091, allocations: 7.938 kB / 425.2 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.1093, allocations: 189.6 kB / 425.3 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1093, allocations: 3.984 kB / 425.3 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.1094, allocations: 35.86 kB / 425.4 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1094, allocations: 0 / 425.4 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.1094, allocations: 8 kB / 425.4 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1094, allocations: 0 / 425.4 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1094, allocations: 0 / 425.4 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.1097, allocations: 252.9 kB / 425.6 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.818e-05/0.1098, allocations: 105 kB / 425.7 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.1099, allocations: 12 kB / 425.7 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.67e-05/0.1099, allocations: 4 kB / 425.8 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.11, allocations: 7.922 kB / 425.8 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.11, allocations: 8 kB / 425.8 MB, free: 4.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.822e-05/0.1101, allocations: 115.1 kB / 425.9 MB, free: 4.676 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1101, allocations: 0 / 425.9 MB, free: 4.676 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000282/0.1104, allocations: 20 kB / 425.9 MB, free: 4.656 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.0001207/0.1105, allocations: 115.1 kB / 426 MB, free: 4.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002599/0.1107, allocations: 115.7 kB / 426.1 MB, free: 4.422 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1107, allocations: 0 / 426.1 MB, free: 4.422 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.961e-05/0.1108, allocations: 7.984 kB / 426.1 MB, free: 4.414 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004736/0.1113, allocations: 77.44 kB / 426.2 MB, free: 4.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005287/0.1118, allocations: 299.2 kB / 426.5 MB, free: 4.008 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.1121, allocations: 0.724 MB / 427.2 MB, free: 3.258 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.67e-05/0.1122, allocations: 23.38 kB / 427.2 MB, free: 3.234 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1122, allocations: 0 / 427.2 MB, free: 3.234 MB / 350.1 MB Notification: Performance of Templates: time 0.003297/0.1155, allocations: 1.468 MB / 428.7 MB, free: 1.773 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 480] 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: 6.584967432077974]