Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Types.Examples.IO_Bus.Variables.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.001142/0.001142, allocations: 82.05 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001313/0.001313, allocations: 169.7 kB / 23.28 MB, free: 1.219 MB / 18.57 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.009/1.009, allocations: 177.1 MB / 203.7 MB, free: 5.5 MB / 186.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.07437/0.07437, allocations: 12.76 MB / 273 MB, free: 124 kB / 250.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.IO_Bus.Variables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Types.Examples.IO_Bus.Variables") translateModel(Bodylight.Types.Examples.IO_Bus.Variables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Types.Examples.IO_Bus.Variables") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 3.938 kB / 347.2 MB, free: 1.949 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.071e-05, allocations: 2.312 kB / 347.2 MB, free: 1.945 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Types.Examples.IO_Bus.Variables): time 0.002997/0.003018, allocations: 2.431 MB / 349.7 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 8.326e-05/0.003101, allocations: 51.64 kB / 349.7 MB, free: 15.45 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.988e-05/0.003181, allocations: 7.938 kB / 349.7 MB, free: 15.44 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001729/0.003354, allocations: 47.66 kB / 349.8 MB, free: 15.39 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.003479, allocations: 27.67 kB / 349.8 MB, free: 15.37 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.804e-05/0.003507, allocations: 11.98 kB / 349.8 MB, free: 15.36 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001773/0.005281, allocations: 2.126 MB / 351.9 MB, free: 13.26 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004678/0.005748, allocations: 415.5 kB / 352.3 MB, free: 12.82 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005015/0.00625, allocations: 0.9675 MB / 353.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003361/0.006586, allocations: 0.4996 MB / 353.8 MB, free: 11.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.865e-05/0.006675, allocations: 4 kB / 353.8 MB, free: 11.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.544e-05/0.00677, allocations: 0 / 353.8 MB, free: 11.34 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001865/0.006956, allocations: 359.7 kB / 354.1 MB, free: 10.98 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003067/0.007263, allocations: 0.5113 MB / 354.7 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002232/0.009495, allocations: 3.705 MB / 358.4 MB, free: 6.742 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.009497, allocations: 0 / 358.4 MB, free: 6.742 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.009498, allocations: 0 / 358.4 MB, free: 6.742 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.212e-05/0.00956, allocations: 4 kB / 358.4 MB, free: 6.738 MB / 330.7 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.004394/0.01395, allocations: 7.143 MB / 365.5 MB, free: 15.51 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.01398, allocations: 11.98 kB / 365.5 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003522/0.01434, allocations: 0.7303 MB / 366.3 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/0.01582, allocations: 2.426 MB / 368.7 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.01583, allocations: 8.375 kB / 368.7 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.41e-06/0.01583, allocations: 4.312 kB / 368.7 MB, free: 12.28 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.874e-05/0.0159, allocations: 77 kB / 368.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.01591, allocations: 192 / 368.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.01591, allocations: 4.562 kB / 368.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.01592, allocations: 7.938 kB / 368.8 MB, free: 12.17 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.262e-05/0.01593, allocations: 11.92 kB / 368.8 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.01781, allocations: 2.542 MB / 371.3 MB, free: 9.574 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.065e-05/0.01788, allocations: 265.4 kB / 371.6 MB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.97e-05/0.01791, allocations: 130.9 kB / 371.7 MB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.01794, allocations: 119.2 kB / 371.8 MB, free: 9.051 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.01798, allocations: 156.6 kB / 372 MB, free: 8.887 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.01798, allocations: 3.938 kB / 372 MB, free: 8.883 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 0.0003953/0.01838, allocations: 0.7467 MB / 372.7 MB, free: 8.125 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.01842, allocations: 174.6 kB / 372.9 MB, free: 7.941 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00626/0.02468, allocations: 7.356 MB / 380.3 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/0.02469, allocations: 25.7 kB / 380.3 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002419/0.02711, allocations: 3.788 MB / 384.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.415e-06/0.02711, allocations: 0 / 384.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.02714, allocations: 23.38 kB / 384.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004044/0.02754, allocations: 496.4 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.408e-06/0.02755, allocations: 0 / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.359e-05/0.02758, allocations: 34.75 kB / 384.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.929e-05/0.02762, allocations: 46.59 kB / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.02762, allocations: 0 / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004678/0.02808, allocations: 0.7895 MB / 385.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.0281, allocations: 4 kB / 385.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.0281, allocations: 4 kB / 385.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.02812, allocations: 4 kB / 385.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.827e-05/0.02816, allocations: 7.984 kB / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.02817, allocations: 0 / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002281/0.02839, allocations: 4 kB / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.0284, allocations: 0 / 385.5 MB, free: 11.36 MB / 362.7 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 0.0004227/0.02882, allocations: 283.6 kB / 385.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003944/0.02922, allocations: 0.8708 MB / 386.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005187/0.02974, allocations: 0.7247 MB / 387.4 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.553e-05/0.02979, allocations: 272 kB / 387.6 MB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.642e-05/0.02985, allocations: 272.1 kB / 387.9 MB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.556e-05/0.0299, allocations: 272.1 kB / 388.1 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/0.03162, allocations: 2.36 MB / 390.5 MB, free: 6.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.375e-05/0.03165, allocations: 152.9 kB / 390.7 MB, free: 6.074 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.03168, allocations: 148.8 kB / 390.8 MB, free: 5.922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.697e-05/0.03174, allocations: 268 kB / 391.1 MB, free: 5.652 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.954e-05/0.0318, allocations: 272 kB / 391.3 MB, free: 5.379 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003697/0.03217, allocations: 264.1 kB / 391.6 MB, free: 5.113 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.148e-05/0.03223, allocations: 268.1 kB / 391.8 MB, free: 4.844 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000642/0.03287, allocations: 1.224 MB / 393.1 MB, free: 3.582 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008844/0.03376, allocations: 0.7225 MB / 393.8 MB, free: 2.848 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003644/0.03412, allocations: 272 kB / 394.1 MB, free: 2.574 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003103/0.03443, allocations: 152.9 kB / 394.2 MB, free: 2.418 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.385e-05/0.03452, allocations: 268 kB / 394.5 MB, free: 2.148 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.588e-05/0.03455, allocations: 144.9 kB / 394.6 MB, free: 2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003805/0.03836, allocations: 3.622 MB / 398.2 MB, free: 14.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.03836, allocations: 0 / 398.2 MB, free: 14.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004566/0.03881, allocations: 192 kB / 398.4 MB, free: 14.24 MB / 378.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.0001309/0.03895, allocations: 210.4 kB / 398.6 MB, free: 14.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.205e-05/0.03904, allocations: 23.61 kB / 398.7 MB, free: 13.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.03904, allocations: 0 / 398.7 MB, free: 13.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.03904, allocations: 0 / 398.7 MB, free: 13.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003743/0.04279, allocations: 1.944 MB / 400.6 MB, free: 12.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009744/0.05253, allocations: 8.576 MB / 409.2 MB, free: 3.504 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009604/0.05349, allocations: 1.304 MB / 410.5 MB, free: 2.168 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005243/0.05401, allocations: 68.84 kB / 410.5 MB, free: 2.102 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008596/0.05487, allocations: 485.7 kB / 411 MB, free: 1.625 MB / 378.7 MB Notification: Performance of SimCode: time 2.104e-06/0.05488, allocations: 0 / 411 MB, free: 1.625 MB / 378.7 MB Notification: Performance of Templates: time 0.03995/0.09483, allocations: 27.02 MB / 438 MB, free: 7.188 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Types.Examples.IO_Bus.Variables.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Types.Examples.IO_Bus.Variables.pipe ; mkfifo Bodylight_Bodylight.Types.Examples.IO_Bus.Variables.pipe ; head -c 1048576 < Bodylight_Bodylight.Types.Examples.IO_Bus.Variables.pipe >> ../files/Bodylight_Bodylight.Types.Examples.IO_Bus.Variables.sim & (cd run_cvode && ../Bodylight_Bodylight.Types.Examples.IO_Bus.Variables -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Bodylight_Bodylight.Types.Examples.IO_Bus.Variables.pipe 2>&1) [Timeout 240] (rm -f Bodylight_Bodylight.Types.Examples.IO_Bus.Variables_gbode.pipe ; mkfifo Bodylight_Bodylight.Types.Examples.IO_Bus.Variables_gbode.pipe ; head -c 1048576 < Bodylight_Bodylight.Types.Examples.IO_Bus.Variables_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Types.Examples.IO_Bus.Variables_gbode.sim & (cd run_gbode && ../Bodylight_Bodylight.Types.Examples.IO_Bus.Variables -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Bodylight_Bodylight.Types.Examples.IO_Bus.Variables_gbode.pipe 2>&1) [Timeout 240] (rm -f Bodylight_Bodylight.Types.Examples.IO_Bus.Variables_ida.pipe ; mkfifo Bodylight_Bodylight.Types.Examples.IO_Bus.Variables_ida.pipe ; head -c 1048576 < Bodylight_Bodylight.Types.Examples.IO_Bus.Variables_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Types.Examples.IO_Bus.Variables_ida.sim & (cd run_ida && ../Bodylight_Bodylight.Types.Examples.IO_Bus.Variables -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Bodylight_Bodylight.Types.Examples.IO_Bus.Variables_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3336625690571964]