Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.001765/0.001765, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.00197/0.00197, allocations: 162.5 kB / 24.5 MB, free: 3.711 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.458/1.458, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 51.62 kB / 325.6 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1043, allocations: 53.34 MB / 378.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003632/0.1079, allocations: 1.592 MB / 380.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.1091, allocations: 0.5025 MB / 381 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.515e-05/0.1092, allocations: 8 kB / 381 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.858e-05/0.1092, allocations: 7.875 kB / 381 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.1094, allocations: 3.938 kB / 381 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.1097, allocations: 67.8 kB / 381.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.1098, allocations: 47.84 kB / 381.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.582e-05/0.1099, allocations: 16.12 kB / 381.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.1101, allocations: 35.78 kB / 381.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.68e-05/0.1101, allocations: 15.92 kB / 381.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.1101, allocations: 4 kB / 381.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.243e-05/0.1102, allocations: 15.94 kB / 381.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.558e-05/0.1102, allocations: 11.98 kB / 381.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.5e-05/0.1103, allocations: 23.81 kB / 381.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.1104, allocations: 63.61 kB / 381.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1104, allocations: 0 / 381.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1104, allocations: 0 / 381.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1104, allocations: 0 / 381.3 MB, free: 13.23 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004872/0.1109, allocations: 298 kB / 381.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.1109, allocations: 8.031 kB / 381.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.1111, allocations: 20.88 kB / 381.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.1114, allocations: 157.8 kB / 381.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1114, allocations: 4.375 kB / 381.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.1114, allocations: 7.938 kB / 381.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.1117, allocations: 113.9 kB / 381.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.1117, allocations: 0 / 381.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.1117, allocations: 4 kB / 381.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.1117, allocations: 7.984 kB / 381.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.674e-05/0.1118, allocations: 23.92 kB / 382 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003297/0.1121, allocations: 226.2 kB / 382.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.1123, allocations: 63.8 kB / 382.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.795e-05/0.1123, allocations: 38.56 kB / 382.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.1124, allocations: 0 / 382.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.1124, allocations: 38.5 kB / 382.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1124, allocations: 4 kB / 382.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002846/0.1127, allocations: 85.55 kB / 382.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.585e-05/0.1128, allocations: 110.8 kB / 382.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.1129, allocations: 141.8 kB / 382.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.1129, allocations: 25.7 kB / 382.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.191e-05/0.113, allocations: 92.08 kB / 382.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/0.113, allocations: 7.938 kB / 382.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-05/0.1131, allocations: 22.05 kB / 382.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1132, allocations: 322.8 kB / 383.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.789e-05/0.1133, allocations: 12 kB / 383.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.897e-05/0.1133, allocations: 35.42 kB / 383.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.1134, allocations: 43.36 kB / 383.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1134, allocations: 0 / 383.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001455/0.1136, allocations: 69.61 kB / 383.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1136, allocations: 8 kB / 383.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1136, allocations: 3.938 kB / 383.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1136, allocations: 0 / 383.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.733e-05/0.1137, allocations: 11.98 kB / 383.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.1137, allocations: 7.938 kB / 383.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.425e-05/0.1137, allocations: 4 kB / 383.3 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.1137, allocations: 7.938 kB / 383.3 MB, free: 11 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 9.656e-05/0.1138, allocations: 122 kB / 383.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.583e-05/0.1139, allocations: 53.61 kB / 383.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.392e-05/0.1139, allocations: 15.95 kB / 383.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.114, allocations: 3.938 kB / 383.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.114, allocations: 0 / 383.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.114, allocations: 0 / 383.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.1141, allocations: 117.2 kB / 383.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1141, allocations: 0 / 383.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.345e-05/0.1142, allocations: 11.98 kB / 383.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.1142, allocations: 0 / 383.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.1142, allocations: 12.06 kB / 383.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1142, allocations: 0 / 383.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.1142, allocations: 7.938 kB / 383.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.1144, allocations: 181.1 kB / 383.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/0.1145, allocations: 19.92 kB / 383.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.1145, allocations: 4 kB / 383.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.144e-05/0.1145, allocations: 0 / 383.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.1146, allocations: 7.984 kB / 383.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.1146, allocations: 0 / 383.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.86e-05/0.1147, allocations: 118.2 kB / 384 MB, free: 10.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1147, allocations: 4 kB / 384 MB, free: 10.26 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002448/0.1149, allocations: 4 kB / 384 MB, free: 10.26 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * 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 9.808e-05/0.115, allocations: 99.23 kB / 384.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001445/0.1152, allocations: 31.92 kB / 384.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1152, allocations: 0 / 384.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.999e-05/0.1152, allocations: 11.98 kB / 384.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.1156, allocations: 31.27 kB / 384.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/0.1159, allocations: 180.5 kB / 384.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.077e-05/0.116, allocations: 79.27 kB / 384.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.591e-05/0.116, allocations: 8.125 kB / 384.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/0.1161, allocations: 12.5 kB / 384.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1161, allocations: 3.938 kB / 384.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of Templates: time 0.00324/0.1193, allocations: 0.6409 MB / 385.1 MB, free: 9.121 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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: 4.238971326965839]