Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Rotational.Drive.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.0009839/0.0009839, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001427/0.002411, 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/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.9576/0.9576, allocations: 177.2 MB / 188.4 MB, free: 4.395 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1447/1.102, allocations: 53.66 MB / 242 MB, free: 2.586 MB / 234.7 MB " [Timeout remaining time 179] 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.0009696/0.0009696, allocations: 154.3 kB / 242.9 MB, free: 1.707 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001279/0.002249, allocations: 474.3 kB / 243.4 MB, free: 1.258 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02896/0.02896, allocations: 6.652 MB / 250.8 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004527/0.03349, allocations: 2.669 MB / 253.5 MB, free: 7.387 MB / 250.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Rotational.Drive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.Drive") translateModel(HanserModelica.Rotational.Drive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.Drive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 254.7 MB, free: 6.109 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.221e-05/1.352e-05, allocations: 2.312 kB / 254.7 MB, free: 6.105 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.Drive): time 0.002234/0.002247, allocations: 2.149 MB / 256.9 MB, free: 3.945 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.003539, allocations: 1.123 MB / 258 MB, free: 2.816 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.958e-05/0.003639, allocations: 3.938 kB / 258 MB, free: 2.812 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.003873, allocations: 135.3 kB / 258.1 MB, free: 2.68 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.004137, allocations: 155.1 kB / 258.3 MB, free: 2.527 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.004328, allocations: 111.5 kB / 258.4 MB, free: 2.418 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000227/0.004555, allocations: 231.1 kB / 258.6 MB, free: 2.191 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.004661, allocations: 42.38 kB / 258.7 MB, free: 2.152 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.004823, allocations: 160.4 kB / 258.8 MB, free: 1.996 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.00495, allocations: 95.75 kB / 258.9 MB, free: 1.902 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.004969, allocations: 12 kB / 258.9 MB, free: 1.891 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.675e-05/0.005056, allocations: 55.86 kB / 259 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.062e-05/0.005107, allocations: 35.88 kB / 259 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.828e-05/0.005155, allocations: 43.88 kB / 259.1 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.005362, allocations: 171.3 kB / 259.2 MB, free: 1.59 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.388e-05/0.005376, allocations: 0 / 259.2 MB, free: 1.59 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.005376, allocations: 0 / 259.2 MB, free: 1.59 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.005386, allocations: 4 kB / 259.2 MB, free: 1.586 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005822/0.005968, allocations: 463.4 kB / 259.7 MB, free: 1.109 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.005998, allocations: 8.031 kB / 259.7 MB, free: 1.102 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.006042, allocations: 24.92 kB / 259.7 MB, free: 1.078 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.006212, allocations: 178.2 kB / 259.9 MB, free: 0.875 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.006229, allocations: 12.61 kB / 259.9 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.006252, allocations: 20.06 kB / 259.9 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.006401, allocations: 128.9 kB / 260.1 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.006412, allocations: 11.98 kB / 260.1 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.00642, allocations: 0 / 260.1 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.006426, allocations: 4 kB / 260.1 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.156e-05/0.006478, allocations: 38.8 kB / 260.1 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/0.006882, allocations: 412.8 kB / 260.5 MB, free: 220 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.006984, allocations: 117.2 kB / 260.6 MB, free: 92 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.381e-05/0.007008, allocations: 12.86 kB / 260.6 MB, free: 76 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.007021, allocations: 4 kB / 260.6 MB, free: 72 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000105/0.007126, allocations: 82.08 kB / 260.7 MB, free: 15.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.007127, allocations: 0 / 260.7 MB, free: 15.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001313/0.007258, allocations: 81.59 kB / 260.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.007284, allocations: 55.41 kB / 260.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.007408, allocations: 234.6 kB / 261.1 MB, free: 15.58 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.007421, allocations: 29.7 kB / 261.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.724e-05/0.007468, allocations: 128.7 kB / 261.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.007496, allocations: 31.73 kB / 261.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.007532, allocations: 37.69 kB / 261.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.962e-05/0.007602, allocations: 334.8 kB / 261.6 MB, free: 15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.076e-05/0.007623, allocations: 10.83 kB / 261.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.379e-05/0.007657, allocations: 48.27 kB / 261.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.526e-05/0.007722, allocations: 81.78 kB / 261.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.007724, allocations: 0 / 261.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 9.921e-05/0.007823, allocations: 104.3 kB / 261.9 MB, free: 14.72 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.007835, allocations: 8 kB / 261.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.007839, allocations: 0 / 261.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.355e-06/0.007847, allocations: 4 kB / 261.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.00797, allocations: 35.97 kB / 261.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.007974, allocations: 4 kB / 261.9 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.771e-05/0.008011, allocations: 15.88 kB / 261.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.008017, allocations: 4 kB / 261.9 MB, free: 14.65 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 6.256e-05/0.00808, allocations: 120.6 kB / 262.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.008097, allocations: 19.92 kB / 262.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.008205, allocations: 87.48 kB / 262.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.008206, allocations: 4 kB / 262.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.008208, allocations: 0 / 262.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.008211, allocations: 0 / 262.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.388e-05/0.008305, allocations: 117.8 kB / 262.3 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.008307, allocations: 3.984 kB / 262.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.477e-05/0.008382, allocations: 23.94 kB / 262.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.77e-05/0.0084, allocations: 23.78 kB / 262.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.008401, allocations: 0 / 262.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.008409, allocations: 4 kB / 262.3 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.00841, allocations: 4 kB / 262.3 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.008411, allocations: 0 / 262.3 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.008545, allocations: 130.7 kB / 262.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.008561, allocations: 3.938 kB / 262.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.912e-05/0.00859, allocations: 8 kB / 262.5 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.125e-05/0.008611, allocations: 7.984 kB / 262.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.008622, allocations: 7.984 kB / 262.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6e-05/0.008682, allocations: 85.61 kB / 262.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008682, allocations: 3.938 kB / 262.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000131/0.008813, allocations: 39.89 kB / 262.6 MB, free: 13.91 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.w,load.phi) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001129/0.009942, allocations: 0.558 MB / 263.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001262/0.01007, allocations: 55.8 kB / 263.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.01007, allocations: 4 kB / 263.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.851e-05/0.01013, allocations: 40.78 kB / 263.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.01035, allocations: 310.1 kB / 263.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.01219, allocations: 407.2 kB / 264 MB, free: 12.74 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.235e-05/0.01224, allocations: 79.81 kB / 264.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.749e-05/0.01228, allocations: 21.48 kB / 264.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.918e-05/0.01236, allocations: 79.34 kB / 264.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01236, allocations: 0 / 264.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of Templates: time 0.004002/0.01637, allocations: 2.364 MB / 266.5 MB, free: 10.22 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Rotational.Drive.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Rotational.Drive.pipe ; mkfifo HanserModelica_HanserModelica.Rotational.Drive.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Rotational.Drive.pipe >> ../files/HanserModelica_HanserModelica.Rotational.Drive.sim & (cd run_cvode && ../HanserModelica_HanserModelica.Rotational.Drive -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > HanserModelica_HanserModelica.Rotational.Drive.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.Rotational.Drive_dassl.pipe ; mkfifo HanserModelica_HanserModelica.Rotational.Drive_dassl.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Rotational.Drive_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.Rotational.Drive_dassl.sim & (cd run_dassl && ../HanserModelica_HanserModelica.Rotational.Drive -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > HanserModelica_HanserModelica.Rotational.Drive_dassl.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.Rotational.Drive_gbode.pipe ; mkfifo HanserModelica_HanserModelica.Rotational.Drive_gbode.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Rotational.Drive_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.Rotational.Drive_gbode.sim & (cd run_gbode && ../HanserModelica_HanserModelica.Rotational.Drive -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > HanserModelica_HanserModelica.Rotational.Drive_gbode.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.Rotational.Drive_ida.pipe ; mkfifo HanserModelica_HanserModelica.Rotational.Drive_ida.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Rotational.Drive_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.Rotational.Drive_ida.sim & (cd run_ida && ../HanserModelica_HanserModelica.Rotational.Drive -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > HanserModelica_HanserModelica.Rotational.Drive_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7262783721089363]