Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.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.001851/0.001851, allocations: 83.67 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001992/0.001992, allocations: 157.4 kB / 23.95 MB, free: 4.168 MB / 14.72 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.498/1.498, allocations: 177 MB / 204.1 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 325 MB, free: 484 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.185e-05, allocations: 5.234 kB / 325.1 MB, free: 480 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01217/0.01219, allocations: 8.627 MB / 333.7 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008186/0.02038, allocations: 3.571 MB / 337.3 MB, free: 7.797 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002379/0.02276, allocations: 60.38 kB / 337.3 MB, free: 7.773 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002198/0.02496, allocations: 0.6657 MB / 338 MB, free: 7.277 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003289/0.02825, allocations: 0.9497 MB / 338.9 MB, free: 6.496 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.02955, allocations: 482.7 kB / 339.4 MB, free: 6.102 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003828/0.03337, allocations: 2.765 MB / 342.2 MB, free: 3.879 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001675/0.03505, allocations: 1.066 MB / 343.2 MB, free: 2.758 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003058/0.03811, allocations: 1.766 MB / 345 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002213/0.04032, allocations: 1.313 MB / 346.3 MB, free: 15.67 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004886/0.04081, allocations: 304 kB / 346.6 MB, free: 15.38 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.042, allocations: 0.5618 MB / 347.2 MB, free: 14.81 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001239/0.04324, allocations: 1.067 MB / 348.2 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001553/0.0448, allocations: 0.9937 MB / 349.2 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006187/0.05098, allocations: 4.343 MB / 353.6 MB, free: 8.391 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.05099, allocations: 4 kB / 353.6 MB, free: 8.387 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.05099, allocations: 0 / 353.6 MB, free: 8.387 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001308/0.05112, allocations: 0 / 353.6 MB, free: 8.387 MB / 318.1 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.007025/0.05815, allocations: 3.158 MB / 356.7 MB, free: 5.176 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.05819, allocations: 15.92 kB / 356.7 MB, free: 5.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.05936, allocations: 374.8 kB / 357.1 MB, free: 4.793 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003114/0.06247, allocations: 1.665 MB / 358.8 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.06261, allocations: 148.4 kB / 358.9 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003728/0.06299, allocations: 212.3 kB / 359.1 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005209/0.0682, allocations: 2.803 MB / 361.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.723e-05/0.06825, allocations: 7.953 kB / 361.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002066/0.06846, allocations: 80 kB / 362 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001312/0.06859, allocations: 95.88 kB / 362.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004683/0.07327, allocations: 2.28 MB / 364.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01412/0.0874, allocations: 7.059 MB / 371.5 MB, free: 6.121 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003174/0.09057, allocations: 1.307 MB / 372.8 MB, free: 4.809 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002266/0.09284, allocations: 1.038 MB / 373.8 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002477/0.09308, allocations: 48.91 kB / 373.8 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.606e-05/0.09314, allocations: 43.56 kB / 373.9 MB, free: 3.668 MB / 334.1 MB Notification: Performance of pre-optimization done (n=116): time 3.998e-06/0.09314, allocations: 0 / 373.9 MB, free: 3.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=132): time 0.01517/0.1083, allocations: 6.089 MB / 380 MB, free: 13.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.1084, allocations: 64.72 kB / 380 MB, free: 13.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003893/0.1123, allocations: 2.039 MB / 382.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001705/0.1124, allocations: 49.7 kB / 382.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001061/0.1135, allocations: 1.144 MB / 383.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005022/0.114, allocations: 475.9 kB / 383.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005165/0.1145, allocations: 239.5 kB / 384 MB, free: 9.496 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.1147, allocations: 365.9 kB / 384.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001504/0.1162, allocations: 0.7574 MB / 385.1 MB, free: 8.375 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001685/0.1179, allocations: 1.009 MB / 386.1 MB, free: 7.273 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003317/0.1212, allocations: 1.858 MB / 387.9 MB, free: 5.328 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/0.1212, allocations: 4 kB / 388 MB, free: 5.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00584/0.1271, allocations: 2.742 MB / 390.7 MB, free: 2.562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.1271, allocations: 11.94 kB / 390.7 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.1271, allocations: 7.984 kB / 390.7 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002297/0.1294, allocations: 0.7853 MB / 391.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.1306, allocations: 271.5 kB / 391.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0138/0.1444, allocations: 9.217 MB / 401 MB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.1459, allocations: 95.83 kB / 401.1 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002621/0.1462, allocations: 51.98 kB / 401.1 MB, free: 7.922 MB / 366.1 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.001947/0.1481, allocations: 0.7473 MB / 401.9 MB, free: 7.164 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006443/0.1488, allocations: 202.6 kB / 402.1 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005206/0.154, allocations: 2.468 MB / 404.5 MB, free: 4.473 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-05/0.154, allocations: 16 kB / 404.6 MB, free: 4.457 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.64e-05/0.154, allocations: 4 kB / 404.6 MB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.025e-05/0.154, allocations: 11.97 kB / 404.6 MB, free: 4.441 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00963/0.1637, allocations: 4.381 MB / 409 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.126e-06/0.1637, allocations: 192 / 409 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.1648, allocations: 219.7 kB / 409.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001961/0.1667, allocations: 0.6474 MB / 409.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001178/0.1668, allocations: 31.98 kB / 409.8 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01116/0.178, allocations: 8.263 MB / 418.1 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-06/0.178, allocations: 4.031 kB / 418.1 MB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007665/0.1857, allocations: 3.517 MB / 421.6 MB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/0.1867, allocations: 366.5 kB / 422 MB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000396/0.1871, allocations: 35.94 kB / 422 MB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.1882, allocations: 83.89 kB / 422.1 MB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003267/0.1886, allocations: 100.8 kB / 422.2 MB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/0.1887, allocations: 39.97 kB / 422.2 MB, free: 2.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002303/0.191, allocations: 1.427 MB / 423.7 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.191, allocations: 0 / 423.7 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00185/0.1928, allocations: 0.5156 MB / 424.2 MB, free: 416 kB / 382.1 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.001748/0.1946, allocations: 489.3 kB / 424.7 MB, free: 52 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004563/0.1991, allocations: 2.295 MB / 427 MB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.1991, allocations: 7.938 kB / 427 MB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002722/0.2019, allocations: 1.452 MB / 428.4 MB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001951/0.2038, allocations: 392.8 kB / 428.8 MB, free: 11.85 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008807/0.2126, allocations: 5.032 MB / 433.8 MB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0019/0.2145, allocations: 1.38 MB / 435.2 MB, free: 5.352 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001221/0.2157, allocations: 382.7 kB / 435.6 MB, free: 4.973 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004771/0.2162, allocations: 120.5 kB / 435.7 MB, free: 4.855 MB / 398.1 MB Notification: Performance of SimCode: time 8.82e-07/0.2162, allocations: 0 / 435.7 MB, free: 4.855 MB / 398.1 MB Notification: Performance of Templates: time 0.05621/0.2724, allocations: 29.45 MB / 465.1 MB, free: 7.688 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.736081447452307]