Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.001412/0.001412, allocations: 74.56 kB / 21.24 MB, free: 0.5469 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.00174/0.00174, allocations: 151 kB / 24.49 MB, free: 3.727 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.453/1.453, allocations: 173.4 MB / 201.1 MB, free: 12.69 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 45.89 kB / 319.4 MB, free: 3.477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09699/0.09858, allocations: 52.16 MB / 371.6 MB, free: 7.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003106/0.1017, allocations: 1.591 MB / 373.2 MB, free: 5.883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000939/0.1026, allocations: 470.8 kB / 373.6 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.206e-05/0.1027, allocations: 7.938 kB / 373.6 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.08e-05/0.1028, allocations: 3.938 kB / 373.6 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.1029, allocations: 15.8 kB / 373.7 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.1032, allocations: 55.81 kB / 373.7 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.1033, allocations: 47.86 kB / 373.8 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1034, allocations: 12.17 kB / 373.8 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.073e-05/0.1035, allocations: 19.92 kB / 373.8 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.769e-05/0.1035, allocations: 19.86 kB / 373.8 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.1035, allocations: 4 kB / 373.8 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.539e-05/0.1036, allocations: 4 kB / 373.8 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.165e-05/0.1036, allocations: 15.92 kB / 373.8 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.635e-05/0.1036, allocations: 15.88 kB / 373.8 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.1038, allocations: 63.61 kB / 373.9 MB, free: 5.137 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1038, allocations: 3.938 kB / 373.9 MB, free: 5.133 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1038, allocations: 4 kB / 373.9 MB, free: 5.129 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1038, allocations: 0 / 373.9 MB, free: 5.129 MB / 334.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.0005039/0.1043, allocations: 302 kB / 374.2 MB, free: 4.805 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1043, allocations: 16.02 kB / 374.2 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.1044, allocations: 12.83 kB / 374.2 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.1047, allocations: 142.3 kB / 374.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.1047, allocations: 384 / 374.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.1047, allocations: 4.375 kB / 374.4 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002825/0.105, allocations: 126 kB / 374.5 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.105, allocations: 0 / 374.5 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.924e-06/0.105, allocations: 0 / 374.5 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.105, allocations: 0 / 374.5 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.074e-05/0.1051, allocations: 31.91 kB / 374.5 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002952/0.1054, allocations: 214.3 kB / 374.7 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.1055, allocations: 75.72 kB / 374.8 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.722e-05/0.1056, allocations: 30.58 kB / 374.8 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.1056, allocations: 4 kB / 374.9 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.1056, allocations: 34.55 kB / 374.9 MB, free: 4 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1056, allocations: 4 kB / 374.9 MB, free: 3.996 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002699/0.1059, allocations: 81.56 kB / 375 MB, free: 3.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.138e-05/0.106, allocations: 111.1 kB / 375.1 MB, free: 3.777 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.1061, allocations: 149.4 kB / 375.2 MB, free: 3.625 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.1062, allocations: 25.7 kB / 375.2 MB, free: 3.594 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.959e-05/0.1062, allocations: 92.14 kB / 375.3 MB, free: 3.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.1062, allocations: 7.953 kB / 375.3 MB, free: 3.492 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.1063, allocations: 17.72 kB / 375.4 MB, free: 3.469 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1064, allocations: 318.8 kB / 375.7 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.504e-05/0.1065, allocations: 12 kB / 375.7 MB, free: 3.137 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.606e-05/0.1065, allocations: 35.41 kB / 375.7 MB, free: 3.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.1066, allocations: 51.36 kB / 375.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1066, allocations: 3.938 kB / 375.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001488/0.1068, allocations: 69.56 kB / 375.8 MB, free: 2.949 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1068, allocations: 10.81 kB / 375.9 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1068, allocations: 0 / 375.9 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1068, allocations: 3.938 kB / 375.9 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.968e-05/0.1069, allocations: 20.05 kB / 375.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1069, allocations: 0 / 375.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.031e-05/0.1069, allocations: 4 kB / 375.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.1069, allocations: 8 kB / 375.9 MB, free: 2.906 MB / 334.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.058e-05/0.107, allocations: 117.8 kB / 376 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.1072, allocations: 57.58 kB / 376.1 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.025e-05/0.1072, allocations: 3.969 kB / 376.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.1072, allocations: 7.984 kB / 376.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.1072, allocations: 0 / 376.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1072, allocations: 4.062 kB / 376.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.1074, allocations: 121.2 kB / 376.2 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1074, allocations: 0 / 376.2 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.332e-05/0.1074, allocations: 11.98 kB / 376.2 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1074, allocations: 0 / 376.2 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.1074, allocations: 0 / 376.2 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1074, allocations: 4 kB / 376.2 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1074, allocations: 0 / 376.2 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.1077, allocations: 185.1 kB / 376.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-05/0.1077, allocations: 23.88 kB / 376.4 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.1077, allocations: 4 kB / 376.4 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.142e-05/0.1078, allocations: 4 kB / 376.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.398e-05/0.1078, allocations: 0 / 376.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.1078, allocations: 11.98 kB / 376.4 MB, free: 2.289 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.211e-05/0.1079, allocations: 103.3 kB / 376.5 MB, free: 2.188 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1079, allocations: 0 / 376.5 MB, free: 2.188 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002401/0.1081, allocations: 12 kB / 376.5 MB, free: 2.176 MB / 334.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.66e-05/0.1082, allocations: 99.23 kB / 376.6 MB, free: 2.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001501/0.1084, allocations: 31.92 kB / 376.7 MB, free: 2.039 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1084, allocations: 0 / 376.7 MB, free: 2.039 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.79e-05/0.1084, allocations: 8 kB / 376.7 MB, free: 2.031 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.1088, allocations: 35.83 kB / 376.7 MB, free: 1.996 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003683/0.1091, allocations: 188.6 kB / 376.9 MB, free: 1.777 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.874e-05/0.1092, allocations: 79.83 kB / 377 MB, free: 1.68 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.967e-05/0.1093, allocations: 4 kB / 377 MB, free: 1.676 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.1093, allocations: 12.5 kB / 377 MB, free: 1.664 MB / 334.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1093, allocations: 3.938 kB / 377 MB, free: 1.66 MB / 334.1 MB Notification: Performance of Templates: time 0.003187/0.1125, allocations: 0.6461 MB / 377.6 MB, free: 1.031 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.239551765960641]