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.001517/0.001517, allocations: 91.5 kB / 20.94 MB, free: 3.609 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.001844/0.001844, allocations: 156.5 kB / 24.23 MB, free: 328 kB / 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.119/1.119, allocations: 177 MB / 204.5 MB, free: 5.578 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.3314/0.3314, allocations: 34.86 MB / 295.8 MB, free: 0.5742 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.904e-06/1.904e-06, allocations: 0 / 378.1 MB, free: 2.277 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.3e-05/3.491e-05, allocations: 3.016 kB / 378.1 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01502/0.01505, allocations: 9.735 MB / 387.8 MB, free: 8.488 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009195/0.02425, allocations: 3.701 MB / 391.6 MB, free: 4.777 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002782/0.02703, allocations: 63.56 kB / 391.6 MB, free: 4.715 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003203/0.03023, allocations: 0.6714 MB / 392.3 MB, free: 4.039 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004359/0.03459, allocations: 0.9548 MB / 393.2 MB, free: 3.078 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001642/0.03623, allocations: 482.9 kB / 393.7 MB, free: 2.605 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004482/0.04071, allocations: 2.758 MB / 396.5 MB, free: 15.84 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001794/0.04251, allocations: 1.085 MB / 397.6 MB, free: 14.69 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002772/0.04528, allocations: 1.777 MB / 399.3 MB, free: 12.91 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002031/0.04731, allocations: 1.411 MB / 400.7 MB, free: 11.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005869/0.0479, allocations: 304 kB / 401 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.04904, allocations: 0.5541 MB / 401.6 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008243/0.04987, allocations: 1.087 MB / 402.7 MB, free: 9.555 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001309/0.05117, allocations: 1.005 MB / 403.7 MB, free: 8.547 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003183/0.05436, allocations: 2.511 MB / 406.2 MB, free: 6.027 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.05436, allocations: 0 / 406.2 MB, free: 6.027 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.05436, allocations: 0 / 406.2 MB, free: 6.027 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.627e-05/0.05443, allocations: 0 / 406.2 MB, free: 6.027 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.004326/0.05876, allocations: 3.352 MB / 409.5 MB, free: 2.613 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.0588, allocations: 12.03 kB / 409.6 MB, free: 2.602 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009315/0.05974, allocations: 0.5301 MB / 410.1 MB, free: 2.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002121/0.06186, allocations: 1.571 MB / 411.7 MB, free: 472 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.555e-05/0.06194, allocations: 152.4 kB / 411.8 MB, free: 316 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000213/0.06216, allocations: 212.3 kB / 412 MB, free: 104 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00247/0.06463, allocations: 1.665 MB / 413.7 MB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.406e-05/0.06467, allocations: 11.89 kB / 413.7 MB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/0.0648, allocations: 84 kB / 413.8 MB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.55e-05/0.06489, allocations: 91.94 kB / 413.9 MB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00158/0.06647, allocations: 0.7686 MB / 414.6 MB, free: 13.37 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009164/0.07564, allocations: 6.717 MB / 421.4 MB, free: 6.453 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.07707, allocations: 0.7541 MB / 422.1 MB, free: 5.691 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008757/0.07795, allocations: 0.5821 MB / 422.7 MB, free: 5.105 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002051/0.07815, allocations: 56.95 kB / 422.7 MB, free: 5.051 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.07819, allocations: 46.39 kB / 422.8 MB, free: 4.996 MB / 394.7 MB Notification: Performance of pre-optimization done (n=116): time 4.99e-06/0.0782, allocations: 0 / 422.8 MB, free: 4.996 MB / 394.7 MB Notification: Performance of matching and sorting (n=132): time 0.006859/0.08506, allocations: 3.693 MB / 426.5 MB, free: 1.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.08511, allocations: 64.72 kB / 426.5 MB, free: 1.172 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/0.08708, allocations: 1.655 MB / 428.2 MB, free: 15.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.08718, allocations: 49.7 kB / 428.2 MB, free: 15.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008923/0.08808, allocations: 1.243 MB / 429.5 MB, free: 14.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004356/0.08851, allocations: 483.9 kB / 430 MB, free: 13.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003531/0.08887, allocations: 253.2 kB / 430.2 MB, free: 13.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002291/0.08909, allocations: 0.5316 MB / 430.7 MB, free: 12.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005015/0.0896, allocations: 247.8 kB / 431 MB, free: 12.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007054/0.0903, allocations: 0.5859 MB / 431.6 MB, free: 11.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.09142, allocations: 0.9186 MB / 432.5 MB, free: 10.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.09143, allocations: 0 / 432.5 MB, free: 10.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002517/0.09394, allocations: 1.514 MB / 434 MB, free: 9.395 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.49e-05/0.09399, allocations: 11.94 kB / 434 MB, free: 9.383 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/0.09401, allocations: 11.94 kB / 434 MB, free: 9.371 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001534/0.09554, allocations: 0.576 MB / 434.6 MB, free: 8.789 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006147/0.09616, allocations: 267.6 kB / 434.9 MB, free: 8.527 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005825/0.102, allocations: 6.443 MB / 441.3 MB, free: 1.844 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008456/0.1028, allocations: 87.91 kB / 441.4 MB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.93e-05/0.1029, allocations: 47.98 kB / 441.4 MB, free: 1.711 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%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005896/0.1035, allocations: 236.1 kB / 441.7 MB, free: 1.469 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000316/0.1038, allocations: 250.7 kB / 441.9 MB, free: 1.223 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1741/0.2779, allocations: 1.315 MB / 443.2 MB, free: 97.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.524e-05/0.2779, allocations: 13.31 kB / 443.2 MB, free: 97.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.481e-05/0.278, allocations: 6.156 kB / 443.2 MB, free: 97.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-05/0.278, allocations: 9.25 kB / 443.3 MB, free: 97.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007/0.285, allocations: 3.26 MB / 446.5 MB, free: 97.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.285, allocations: 2.125 kB / 446.5 MB, free: 97.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005397/0.2855, allocations: 206.3 kB / 446.7 MB, free: 97.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001108/0.2866, allocations: 465.1 kB / 447.2 MB, free: 97.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.96e-05/0.2867, allocations: 34.75 kB / 447.2 MB, free: 97.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004459/0.2912, allocations: 7.531 MB / 454.7 MB, free: 91.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2912, allocations: 3 kB / 454.7 MB, free: 91.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002726/0.2939, allocations: 1.797 MB / 456.5 MB, free: 90.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006246/0.2945, allocations: 344.2 kB / 456.9 MB, free: 90.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/0.2947, allocations: 27.53 kB / 456.9 MB, free: 90.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004567/0.2952, allocations: 77.47 kB / 457 MB, free: 90.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002264/0.2954, allocations: 122.9 kB / 457.1 MB, free: 90.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.254e-05/0.2954, allocations: 39.92 kB / 457.1 MB, free: 90.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001085/0.2965, allocations: 0.9852 MB / 458.1 MB, free: 89.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2965, allocations: 0 / 458.1 MB, free: 89.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001556/0.2981, allocations: 0.5218 MB / 458.6 MB, free: 89.94 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.001071/0.2992, allocations: 445.9 kB / 459.1 MB, free: 89.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002158/0.3013, allocations: 1.518 MB / 460.6 MB, free: 89.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.3013, allocations: 2.25 kB / 460.6 MB, free: 89.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00118/0.3025, allocations: 1.218 MB / 461.8 MB, free: 88.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.3037, allocations: 411.6 kB / 462.2 MB, free: 88.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005799/0.3095, allocations: 4.284 MB / 466.5 MB, free: 86.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007167/0.3103, allocations: 0.6411 MB / 467.1 MB, free: 85.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009542/0.3112, allocations: 305 kB / 467.4 MB, free: 85.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003182/0.3115, allocations: 127.2 kB / 467.6 MB, free: 85.81 MB / 410.7 MB Notification: Performance of SimCode: time 3.838e-06/0.3115, allocations: 0 / 467.6 MB, free: 85.81 MB / 410.7 MB Notification: Performance of Templates: time 0.04376/0.3553, allocations: 29.75 MB / 497.3 MB, free: 76.52 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 & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -lv LOG_STATS > 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_cvode.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_cvode.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_cvode.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -lv LOG_STATS -s cvode > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_cvode.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 & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -lv LOG_STATS -s gbode -gbm=radauIIA3 > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_gbode.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.065103535074741]