Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.001349/0.001349, allocations: 69.8 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.001502/0.001502, allocations: 162.3 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.498/1.498, allocations: 177.2 MB / 204.9 MB, free: 8.988 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 53.73 kB / 325.6 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09578/0.09743, allocations: 53.33 MB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.00327/0.1007, allocations: 1.596 MB / 380.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.1019, allocations: 0.5337 MB / 381 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.696e-05/0.102, allocations: 3.938 kB / 381 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.74e-05/0.102, allocations: 7.922 kB / 381 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.1022, allocations: 11.94 kB / 381.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003711/0.1026, allocations: 71.48 kB / 381.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.1027, allocations: 43.86 kB / 381.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.248e-05/0.1028, allocations: 16.17 kB / 381.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.1029, allocations: 35.78 kB / 381.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.952e-05/0.1029, allocations: 27.8 kB / 381.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.1029, allocations: 0 / 381.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.955e-05/0.103, allocations: 8 kB / 381.3 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.872e-05/0.103, allocations: 11.98 kB / 381.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.497e-05/0.1031, allocations: 19.81 kB / 381.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.1032, allocations: 67.61 kB / 381.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1032, allocations: 0 / 381.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1032, allocations: 0 / 381.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.1032, allocations: 4 kB / 381.4 MB, free: 13.18 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.0004647/0.1037, allocations: 306 kB / 381.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.1037, allocations: 8.031 kB / 381.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.1039, allocations: 20.88 kB / 381.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.1042, allocations: 142.1 kB / 381.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.1042, allocations: 4.375 kB / 381.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.1042, allocations: 11.88 kB / 381.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002801/0.1045, allocations: 117.9 kB / 382 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1045, allocations: 0 / 382 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.1045, allocations: 0 / 382 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1045, allocations: 4 kB / 382 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.496e-05/0.1046, allocations: 19.98 kB / 382 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.105, allocations: 230.1 kB / 382.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.1051, allocations: 71.78 kB / 382.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.379e-05/0.1052, allocations: 38.62 kB / 382.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.1052, allocations: 0 / 382.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.1052, allocations: 38.56 kB / 382.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.695e-06/0.1052, allocations: 3.984 kB / 382.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002905/0.1055, allocations: 85.5 kB / 382.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.734e-05/0.1056, allocations: 107.2 kB / 382.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.1058, allocations: 145.8 kB / 382.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.1058, allocations: 25.7 kB / 382.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.951e-05/0.1058, allocations: 92.12 kB / 382.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.272e-05/0.1059, allocations: 3.938 kB / 382.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/0.1059, allocations: 21.67 kB / 382.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.1061, allocations: 326.8 kB / 383.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.052e-05/0.1061, allocations: 4 kB / 383.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.804e-05/0.1062, allocations: 35.42 kB / 383.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.1063, allocations: 51.36 kB / 383.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1063, allocations: 0 / 383.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000142/0.1064, allocations: 73.55 kB / 383.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1064, allocations: 4 kB / 383.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1064, allocations: 4 kB / 383.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1064, allocations: 3.938 kB / 383.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.596e-05/0.1065, allocations: 12.12 kB / 383.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1065, allocations: 3.984 kB / 383.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.187e-05/0.1066, allocations: 4 kB / 383.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.1066, allocations: 3.938 kB / 383.3 MB, free: 10.95 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.93e-05/0.1067, allocations: 117.8 kB / 383.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.621e-05/0.1068, allocations: 57.53 kB / 383.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.26e-05/0.1068, allocations: 11.97 kB / 383.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1068, allocations: 4 kB / 383.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1068, allocations: 0 / 383.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1068, allocations: 4.047 kB / 383.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.107, allocations: 125.2 kB / 383.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.107, allocations: 0 / 383.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.059e-05/0.107, allocations: 11.98 kB / 383.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.107, allocations: 0 / 383.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/0.1071, allocations: 3.938 kB / 383.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.1071, allocations: 11.94 kB / 383.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1071, allocations: 0 / 383.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/0.1073, allocations: 177.1 kB / 383.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.156e-05/0.1073, allocations: 19.94 kB / 383.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.1073, allocations: 4 kB / 383.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.225e-05/0.1074, allocations: 4 kB / 383.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.641e-05/0.1074, allocations: 4 kB / 383.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.1074, allocations: 4 kB / 383.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.745e-05/0.1075, allocations: 114 kB / 384 MB, free: 10.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1075, allocations: 4 kB / 384 MB, free: 10.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00023/0.1077, allocations: 4 kB / 384 MB, free: 10.21 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 0.0001134/0.1079, allocations: 103.2 kB / 384.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001513/0.108, allocations: 35.92 kB / 384.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.108, allocations: 4 kB / 384.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.522e-05/0.1081, allocations: 4 kB / 384.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.1084, allocations: 34.75 kB / 384.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/0.1088, allocations: 184.5 kB / 384.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.381e-05/0.1089, allocations: 79.77 kB / 384.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.169e-05/0.1089, allocations: 8 kB / 384.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.712e-05/0.1089, allocations: 8.5 kB / 384.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1089, allocations: 0 / 384.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of Templates: time 0.003112/0.112, allocations: 0.654 MB / 385.1 MB, free: 9.055 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.298321382026188]