Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Types.Examples.Units.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.0007974/0.0007974, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00126/0.002057, allocations: 455.9 kB / 10.43 MB, free: 260 kB / 10.45 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.0007715/0.0007715, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009744/0.001746, allocations: 475.6 kB / 11.8 MB, free: 2.363 MB / 13.93 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 0.9698/0.9698, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08094/1.051, allocations: 53.68 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo): time 0.05822/0.05822, allocations: 12.75 MB / 256.9 MB, free: 1.988 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009158/0.06738, allocations: 4.838 MB / 261.7 MB, free: 13.14 MB / 266.7 MB " [Timeout remaining time 180] Using package Bodylight with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo) 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(Bodylight.Types.Examples.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Types.Examples.Units") translateModel(Bodylight.Types.Examples.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Types.Examples.Units") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 263.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.323e-05, allocations: 2.312 kB / 263.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Types.Examples.Units): time 0.003195/0.003219, allocations: 1.92 MB / 265 MB, free: 9.875 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001758/0.003394, allocations: 75.61 kB / 265.1 MB, free: 9.801 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.495e-05/0.003429, allocations: 0 / 265.1 MB, free: 9.801 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.345e-05/0.003453, allocations: 11.92 kB / 265.1 MB, free: 9.789 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.003568, allocations: 51.5 kB / 265.1 MB, free: 9.738 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.228e-06/0.003573, allocations: 0 / 265.1 MB, free: 9.738 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.003689, allocations: 115 kB / 265.2 MB, free: 9.625 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.78e-05/0.003736, allocations: 4 kB / 265.2 MB, free: 9.621 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.003837, allocations: 56.55 kB / 265.3 MB, free: 9.566 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.086e-05/0.003918, allocations: 27.92 kB / 265.3 MB, free: 9.539 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.003928, allocations: 0 / 265.3 MB, free: 9.539 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.919e-06/0.003938, allocations: 0 / 265.3 MB, free: 9.539 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.003954, allocations: 7.938 kB / 265.3 MB, free: 9.531 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.206e-05/0.003986, allocations: 23.94 kB / 265.4 MB, free: 9.508 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.004122, allocations: 43.81 kB / 265.4 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.648e-05/0.004138, allocations: 3.938 kB / 265.4 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.004139, allocations: 0 / 265.4 MB, free: 9.461 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.004151, allocations: 0 / 265.4 MB, free: 9.461 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003622/0.004513, allocations: 308 kB / 265.7 MB, free: 9.133 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.00455, allocations: 16.03 kB / 265.7 MB, free: 9.117 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.173e-05/0.004601, allocations: 80.22 kB / 265.8 MB, free: 9.039 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.00474, allocations: 217.4 kB / 266 MB, free: 8.801 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.518e-05/0.004785, allocations: 150.9 kB / 266.2 MB, free: 8.652 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.004897, allocations: 154.9 kB / 266.3 MB, free: 8.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.796e-05/0.004955, allocations: 105.5 kB / 266.4 MB, free: 8.391 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.004978, allocations: 79.47 kB / 266.5 MB, free: 8.312 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.988e-05/0.005018, allocations: 150.9 kB / 266.6 MB, free: 8.164 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.383e-05/0.005062, allocations: 150.9 kB / 266.8 MB, free: 8.016 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.258e-05/0.005105, allocations: 154.5 kB / 266.9 MB, free: 7.863 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.005293, allocations: 357.3 kB / 267.3 MB, free: 7.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.79e-05/0.005361, allocations: 173.1 kB / 267.5 MB, free: 7.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.838e-05/0.005389, allocations: 88.14 kB / 267.5 MB, free: 7.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.00541, allocations: 75.28 kB / 267.6 MB, free: 7.156 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.00545, allocations: 105.9 kB / 267.7 MB, free: 7.043 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.005451, allocations: 0 / 267.7 MB, free: 7.043 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 6.716e-05/0.005518, allocations: 45.62 kB / 267.8 MB, free: 6.992 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.005572, allocations: 130.7 kB / 267.9 MB, free: 6.852 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.005702, allocations: 154.6 kB / 268 MB, free: 6.688 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.005711, allocations: 25.7 kB / 268.1 MB, free: 6.656 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.005874, allocations: 100.1 kB / 268.2 MB, free: 6.555 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.21e-07/0.005875, allocations: 4 kB / 268.2 MB, free: 6.551 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-05/0.005896, allocations: 13.72 kB / 268.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.204e-05/0.005988, allocations: 326.8 kB / 268.5 MB, free: 6.203 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.457e-06/0.005991, allocations: 0 / 268.5 MB, free: 6.203 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.507e-06/0.005995, allocations: 0 / 268.5 MB, free: 6.203 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.089e-05/0.006016, allocations: 75.28 kB / 268.6 MB, free: 6.129 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.975e-05/0.006035, allocations: 75.28 kB / 268.6 MB, free: 6.055 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.176e-05/0.006097, allocations: 37.69 kB / 268.7 MB, free: 6.012 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/0.00613, allocations: 83.22 kB / 268.8 MB, free: 5.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-05/0.006157, allocations: 79.27 kB / 268.8 MB, free: 5.852 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.393e-05/0.006201, allocations: 154.6 kB / 269 MB, free: 5.699 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.592e-05/0.006227, allocations: 87.16 kB / 269.1 MB, free: 5.613 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.896e-05/0.006266, allocations: 154.5 kB / 269.2 MB, free: 5.461 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.838e-05/0.006345, allocations: 83.22 kB / 269.3 MB, free: 5.379 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.006371, allocations: 75.28 kB / 269.4 MB, free: 5.305 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001045/0.006475, allocations: 268.3 kB / 269.6 MB, free: 5.031 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.274e-05/0.006528, allocations: 105 kB / 269.7 MB, free: 4.922 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.345e-05/0.006581, allocations: 117.4 kB / 269.9 MB, free: 4.801 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-05/0.00663, allocations: 180.2 kB / 270 MB, free: 4.617 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-05/0.006679, allocations: 184.2 kB / 270.2 MB, free: 4.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.852e-05/0.006727, allocations: 184.2 kB / 270.4 MB, free: 4.242 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.006917, allocations: 333.4 kB / 270.7 MB, free: 3.891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.355e-05/0.006951, allocations: 112.9 kB / 270.8 MB, free: 3.773 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.016e-05/0.006981, allocations: 105 kB / 270.9 MB, free: 3.664 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.547e-05/0.007066, allocations: 116.8 kB / 271 MB, free: 3.543 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.921e-05/0.007116, allocations: 180.2 kB / 271.2 MB, free: 3.359 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.148e-05/0.007167, allocations: 180.3 kB / 271.4 MB, free: 3.176 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.923e-05/0.007216, allocations: 184.2 kB / 271.6 MB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.462e-05/0.007261, allocations: 176.3 kB / 271.8 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.007404, allocations: 320.1 kB / 272.1 MB, free: 2.473 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.175e-05/0.007465, allocations: 184.2 kB / 272.2 MB, free: 2.285 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.713e-05/0.007543, allocations: 101 kB / 272.3 MB, free: 2.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.349e-05/0.007626, allocations: 188.2 kB / 272.5 MB, free: 1.988 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.007656, allocations: 108.9 kB / 272.6 MB, free: 1.875 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.599e-05/0.007712, allocations: 49.84 kB / 272.7 MB, free: 1.824 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007712, allocations: 0 / 272.7 MB, free: 1.824 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002225/0.007935, allocations: 12 kB / 272.7 MB, free: 1.812 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001035/0.008038, allocations: 147.6 kB / 272.8 MB, free: 1.66 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001176/0.008156, allocations: 4 kB / 272.8 MB, free: 1.656 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.00816, allocations: 0 / 272.8 MB, free: 1.656 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.087e-05/0.008211, allocations: 0 / 272.8 MB, free: 1.656 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005412/0.008752, allocations: 0.8547 MB / 273.7 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/0.01938, allocations: 0.4955 MB / 274.2 MB, free: 184 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.039e-05/0.01942, allocations: 59.34 kB / 274.3 MB, free: 104 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.045e-05/0.01946, allocations: 4 kB / 274.3 MB, free: 100 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.692e-05/0.01956, allocations: 67.34 kB / 274.3 MB, free: 32 kB / 266.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01956, allocations: 0 / 274.3 MB, free: 32 kB / 266.7 MB Notification: Performance of Templates: time 0.114/0.1336, allocations: 1.198 MB / 275.5 MB, free: 10.53 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Types.Examples.Units.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Types.Examples.Units.pipe ; mkfifo Bodylight_Bodylight.Types.Examples.Units.pipe ; head -c 1048576 < Bodylight_Bodylight.Types.Examples.Units.pipe >> ../files/Bodylight_Bodylight.Types.Examples.Units.sim & (cd run_cvode && ../Bodylight_Bodylight.Types.Examples.Units -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Bodylight_Bodylight.Types.Examples.Units.pipe 2>&1) [Timeout 240] (rm -f Bodylight_Bodylight.Types.Examples.Units_dassl.pipe ; mkfifo Bodylight_Bodylight.Types.Examples.Units_dassl.pipe ; head -c 1048576 < Bodylight_Bodylight.Types.Examples.Units_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Types.Examples.Units_dassl.sim & (cd run_dassl && ../Bodylight_Bodylight.Types.Examples.Units -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > Bodylight_Bodylight.Types.Examples.Units_dassl.pipe 2>&1) [Timeout 240] (rm -f Bodylight_Bodylight.Types.Examples.Units_gbode.pipe ; mkfifo Bodylight_Bodylight.Types.Examples.Units_gbode.pipe ; head -c 1048576 < Bodylight_Bodylight.Types.Examples.Units_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Types.Examples.Units_gbode.sim & (cd run_gbode && ../Bodylight_Bodylight.Types.Examples.Units -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Bodylight_Bodylight.Types.Examples.Units_gbode.pipe 2>&1) [Timeout 240] (rm -f Bodylight_Bodylight.Types.Examples.Units_ida.pipe ; mkfifo Bodylight_Bodylight.Types.Examples.Units_ida.pipe ; head -c 1048576 < Bodylight_Bodylight.Types.Examples.Units_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Types.Examples.Units_ida.sim & (cd run_ida && ../Bodylight_Bodylight.Types.Examples.Units -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Bodylight_Bodylight.Types.Examples.Units_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7539698891341686]