Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001105/0.001105, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001005/0.001005, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.066/1.066, allocations: 177 MB / 205.1 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2676/0.2676, allocations: 34.86 MB / 296.6 MB, free: 0.5156 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=46000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=46000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 379.3 MB, free: 1.742 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/2.991e-05, allocations: 6.312 kB / 379.3 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01209/0.01212, allocations: 9.495 MB / 388.8 MB, free: 8.188 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009176/0.02129, allocations: 3.681 MB / 392.5 MB, free: 4.496 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001319/0.02261, allocations: 63.56 kB / 392.6 MB, free: 4.434 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001771/0.02438, allocations: 0.6675 MB / 393.3 MB, free: 3.762 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002534/0.02692, allocations: 0.9664 MB / 394.2 MB, free: 2.789 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009473/0.02786, allocations: 483 kB / 394.7 MB, free: 2.316 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00253/0.03039, allocations: 2.758 MB / 397.5 MB, free: 15.55 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001594/0.03199, allocations: 1.081 MB / 398.5 MB, free: 14.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003059/0.03505, allocations: 2.015 MB / 400.5 MB, free: 12.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001713/0.03676, allocations: 1.348 MB / 401.9 MB, free: 11.04 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004886/0.03725, allocations: 296 kB / 402.2 MB, free: 10.75 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009078/0.03816, allocations: 0.5462 MB / 402.7 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007639/0.03892, allocations: 1.036 MB / 403.8 MB, free: 9.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.04006, allocations: 0.9702 MB / 404.7 MB, free: 8.188 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00262/0.04268, allocations: 2.468 MB / 407.2 MB, free: 5.711 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.04268, allocations: 0 / 407.2 MB, free: 5.711 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.04268, allocations: 0 / 407.2 MB, free: 5.711 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.557e-05/0.04276, allocations: 0 / 407.2 MB, free: 5.711 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.00475/0.04751, allocations: 3.25 MB / 410.5 MB, free: 2.398 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.04755, allocations: 12.03 kB / 410.5 MB, free: 2.387 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.04858, allocations: 0.5262 MB / 411 MB, free: 1.859 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002167/0.05074, allocations: 1.489 MB / 412.5 MB, free: 336 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.05087, allocations: 156.4 kB / 412.6 MB, free: 176 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002767/0.05115, allocations: 204.4 kB / 412.8 MB, free: 15.97 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00231/0.05346, allocations: 1.548 MB / 414.4 MB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.933e-05/0.05351, allocations: 3.953 kB / 414.4 MB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000152/0.05366, allocations: 87.98 kB / 414.5 MB, free: 14.22 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001056/0.05376, allocations: 95.88 kB / 414.6 MB, free: 14.13 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.05511, allocations: 0.6044 MB / 415.2 MB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01581/0.07092, allocations: 6.078 MB / 421.2 MB, free: 7.258 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004623/0.07555, allocations: 0.7117 MB / 422 MB, free: 6.543 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008645/0.07641, allocations: 0.5106 MB / 422.5 MB, free: 6.027 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001584/0.07657, allocations: 44.92 kB / 422.5 MB, free: 5.984 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.0766, allocations: 46.39 kB / 422.6 MB, free: 5.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=116): time 3.697e-06/0.07661, allocations: 0 / 422.6 MB, free: 5.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=132): time 0.01399/0.09059, allocations: 2.903 MB / 425.5 MB, free: 2.973 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/0.09066, allocations: 68.66 kB / 425.5 MB, free: 2.891 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002611/0.09327, allocations: 1.556 MB / 427.1 MB, free: 1.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002312/0.0935, allocations: 45.7 kB / 427.1 MB, free: 1.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001226/0.09473, allocations: 1.282 MB / 428.4 MB, free: 15.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009432/0.09567, allocations: 491.8 kB / 428.9 MB, free: 15.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005837/0.09625, allocations: 253.1 kB / 429.1 MB, free: 15.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002889/0.09654, allocations: 0.5432 MB / 429.7 MB, free: 14.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005713/0.09711, allocations: 183.8 kB / 429.9 MB, free: 14.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008179/0.09793, allocations: 0.5311 MB / 430.4 MB, free: 13.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001584/0.09952, allocations: 0.8091 MB / 431.2 MB, free: 12.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/0.09953, allocations: 4 kB / 431.2 MB, free: 12.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004295/0.1038, allocations: 1.326 MB / 432.5 MB, free: 11.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.097e-05/0.1039, allocations: 8 kB / 432.5 MB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-05/0.1039, allocations: 11.98 kB / 432.6 MB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001498/0.1054, allocations: 0.5372 MB / 433.1 MB, free: 11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006578/0.1061, allocations: 231.7 kB / 433.3 MB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006041/0.1121, allocations: 5.998 MB / 439.3 MB, free: 4.555 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009914/0.1131, allocations: 43.94 kB / 439.4 MB, free: 4.512 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.1132, allocations: 43.98 kB / 439.4 MB, free: 4.469 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (5,34,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008921/0.1141, allocations: 228.3 kB / 439.6 MB, free: 4.234 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006524/0.1147, allocations: 242.7 kB / 439.9 MB, free: 3.996 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002037/0.1168, allocations: 1.175 MB / 441 MB, free: 2.789 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.42e-05/0.1168, allocations: 12 kB / 441 MB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.1168, allocations: 8 kB / 441.1 MB, free: 2.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.1168, allocations: 3.984 kB / 441.1 MB, free: 2.766 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005149/0.122, allocations: 2.634 MB / 443.7 MB, free: 64 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/0.122, allocations: 0 / 443.7 MB, free: 64 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2415/0.3635, allocations: 182.5 kB / 443.9 MB, free: 90.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001495/0.365, allocations: 405.6 kB / 444.3 MB, free: 90.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003015/0.3653, allocations: 34.86 kB / 444.3 MB, free: 90.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004939/0.3702, allocations: 7.203 MB / 451.5 MB, free: 85.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3702, allocations: 3.391 kB / 451.5 MB, free: 85.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002904/0.3732, allocations: 1.595 MB / 453.1 MB, free: 84.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007747/0.3739, allocations: 300.2 kB / 453.4 MB, free: 84.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002751/0.3742, allocations: 29.19 kB / 453.4 MB, free: 84.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004749/0.3747, allocations: 45.25 kB / 453.5 MB, free: 84.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002104/0.3749, allocations: 100.7 kB / 453.6 MB, free: 84.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.09e-05/0.375, allocations: 30.03 kB / 453.6 MB, free: 84.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007597/0.3757, allocations: 0.8644 MB / 454.5 MB, free: 84.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3757, allocations: 3.812 kB / 454.5 MB, free: 84.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001983/0.3777, allocations: 0.5001 MB / 455 MB, free: 84.61 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * 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 (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001102/0.3788, allocations: 441.6 kB / 455.4 MB, free: 84.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002843/0.3817, allocations: 1.362 MB / 456.8 MB, free: 84.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/0.3817, allocations: 0 / 456.8 MB, free: 84.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001507/0.3832, allocations: 1.125 MB / 457.9 MB, free: 83.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001869/0.385, allocations: 405.6 kB / 458.3 MB, free: 83.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006584/0.3916, allocations: 4.191 MB / 462.5 MB, free: 81.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009584/0.3926, allocations: 0.6453 MB / 463.1 MB, free: 81.49 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007587/0.3933, allocations: 207.3 kB / 463.3 MB, free: 81.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007905/0.3941, allocations: 437.9 kB / 463.7 MB, free: 81.37 MB / 410.7 MB Notification: Performance of SimCode: time 4.087e-06/0.3941, allocations: 0 / 463.7 MB, free: 81.37 MB / 410.7 MB Notification: Performance of Templates: time 0.0501/0.4442, allocations: 28.72 MB / 492.5 MB, free: 76.13 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & (cd run_cvode && ../ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_gbode.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_gbode.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_gbode.sim & (cd run_gbode && ../ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_gbode.pipe 2>&1) [Timeout 240] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_ida.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_ida.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_ida.sim & (cd run_ida && ../ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.542959300335497]