Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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.000987/0.000987, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.0009496/0.0009496, allocations: 168.3 kB / 25.33 MB, free: 9.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9286/0.9286, allocations: 158.6 MB / 187.2 MB, free: 2.555 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 251.1 MB, free: 3.555 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.413e-05, allocations: 2.312 kB / 251.1 MB, free: 3.551 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.008585/0.008609, allocations: 9.554 MB / 260.6 MB, free: 9.949 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005974/0.01458, allocations: 3.441 MB / 264.1 MB, free: 6.492 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.0158, allocations: 47.69 kB / 264.1 MB, free: 6.445 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001651/0.01745, allocations: 0.6678 MB / 264.8 MB, free: 5.773 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002392/0.01984, allocations: 0.9158 MB / 265.7 MB, free: 4.852 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000967/0.02081, allocations: 459.1 kB / 266.2 MB, free: 4.402 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00325/0.02406, allocations: 2.778 MB / 268.9 MB, free: 1.613 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001295/0.02536, allocations: 1.037 MB / 270 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003018/0.02837, allocations: 1.992 MB / 272 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001944/0.03032, allocations: 1.341 MB / 273.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007108/0.03103, allocations: 296 kB / 273.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.03233, allocations: 0.5229 MB / 274.1 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008646/0.0332, allocations: 1.044 MB / 275.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001612/0.03481, allocations: 0.9702 MB / 276.1 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003486/0.03829, allocations: 2.445 MB / 278.6 MB, free: 7.898 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.0383, allocations: 0 / 278.6 MB, free: 7.898 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.0383, allocations: 0 / 278.6 MB, free: 7.898 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001299/0.03843, allocations: 0 / 278.6 MB, free: 7.898 MB / 266.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.004429/0.04286, allocations: 3.258 MB / 281.8 MB, free: 4.578 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.04291, allocations: 11.98 kB / 281.9 MB, free: 4.566 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007377/0.04365, allocations: 0.4989 MB / 282.4 MB, free: 4.066 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001952/0.0456, allocations: 1.438 MB / 283.8 MB, free: 2.586 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.734e-05/0.04569, allocations: 156.4 kB / 283.9 MB, free: 2.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000209/0.04589, allocations: 212.3 kB / 284.2 MB, free: 2.223 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002494/0.04839, allocations: 1.673 MB / 285.8 MB, free: 448 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.091e-05/0.04843, allocations: 4 kB / 285.8 MB, free: 444 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.04855, allocations: 83.98 kB / 285.9 MB, free: 360 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.804e-05/0.04864, allocations: 95.94 kB / 286 MB, free: 264 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/0.05007, allocations: 0.7647 MB / 286.8 MB, free: 15.49 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008002/0.05808, allocations: 6.611 MB / 293.4 MB, free: 8.68 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/0.05956, allocations: 0.7886 MB / 294.2 MB, free: 7.883 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008455/0.06041, allocations: 0.5659 MB / 294.7 MB, free: 7.316 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001762/0.06058, allocations: 52.95 kB / 294.8 MB, free: 7.266 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.06062, allocations: 54.33 kB / 294.8 MB, free: 7.203 MB / 282.7 MB Notification: Performance of pre-optimization done (n=116): time 4.769e-06/0.06063, allocations: 3.984 kB / 294.8 MB, free: 7.199 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.007683/0.06831, allocations: 3.508 MB / 298.3 MB, free: 3.641 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.06835, allocations: 64.72 kB / 298.4 MB, free: 3.562 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001966/0.07032, allocations: 1.575 MB / 300 MB, free: 1.973 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.813e-05/0.07041, allocations: 49.7 kB / 300 MB, free: 1.918 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008595/0.07127, allocations: 1.235 MB / 301.3 MB, free: 0.668 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003593/0.07162, allocations: 483.9 kB / 301.7 MB, free: 196 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1239/0.1956, allocations: 241.3 kB / 302 MB, free: 49.16 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000211/0.1958, allocations: 0.5388 MB / 302.5 MB, free: 48.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006498/0.1964, allocations: 245.5 kB / 302.8 MB, free: 48.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006728/0.1971, allocations: 0.5794 MB / 303.3 MB, free: 48.32 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.1983, allocations: 0.9185 MB / 304.3 MB, free: 47.96 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/0.1983, allocations: 1.594 kB / 304.3 MB, free: 47.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002684/0.201, allocations: 1.477 MB / 305.7 MB, free: 47.85 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/0.201, allocations: 12.56 kB / 305.7 MB, free: 47.85 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/0.201, allocations: 10.77 kB / 305.8 MB, free: 47.85 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001515/0.2026, allocations: 0.5498 MB / 306.3 MB, free: 47.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006218/0.2032, allocations: 259.3 kB / 306.6 MB, free: 47.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005192/0.2084, allocations: 6.316 MB / 312.9 MB, free: 43.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007214/0.2091, allocations: 78.12 kB / 313 MB, free: 43.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.2092, allocations: 52.97 kB / 313 MB, free: 43.91 MB / 282.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.0006072/0.2098, allocations: 240.8 kB / 313.2 MB, free: 43.75 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003905/0.2102, allocations: 239 kB / 313.5 MB, free: 43.75 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002409/0.2126, allocations: 1.291 MB / 314.8 MB, free: 43.59 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.734e-05/0.2126, allocations: 17.69 kB / 314.8 MB, free: 43.59 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.2126, allocations: 6.875 kB / 314.8 MB, free: 43.59 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.2127, allocations: 5.906 kB / 314.8 MB, free: 43.59 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004772/0.2174, allocations: 3.169 MB / 318 MB, free: 42.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.2174, allocations: 3.938 kB / 318 MB, free: 42.96 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006284/0.2181, allocations: 210 kB / 318.2 MB, free: 42.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001147/0.2192, allocations: 441.8 kB / 318.6 MB, free: 42.86 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-05/0.2193, allocations: 36.17 kB / 318.6 MB, free: 42.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004279/0.2236, allocations: 7.406 MB / 326 MB, free: 36.37 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.2236, allocations: 0 / 326 MB, free: 36.37 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002661/0.2263, allocations: 1.766 MB / 327.8 MB, free: 35.67 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005265/0.2268, allocations: 316.1 kB / 328.1 MB, free: 35.49 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/0.227, allocations: 31.14 kB / 328.1 MB, free: 35.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005404/0.2275, allocations: 71.61 kB / 328.2 MB, free: 35.45 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002419/0.2277, allocations: 109.1 kB / 328.3 MB, free: 35.44 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-05/0.2278, allocations: 42.7 kB / 328.4 MB, free: 35.43 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0009582/0.2288, allocations: 0.9234 MB / 329.3 MB, free: 34.98 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2288, allocations: 4 kB / 329.3 MB, free: 34.97 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001501/0.2303, allocations: 0.5034 MB / 329.8 MB, free: 34.48 MB / 282.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.000999/0.2313, allocations: 452.1 kB / 330.2 MB, free: 34.14 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002066/0.2333, allocations: 1.469 MB / 331.7 MB, free: 32.83 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.2333, allocations: 0 / 331.7 MB, free: 32.83 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00119/0.2345, allocations: 1.205 MB / 332.9 MB, free: 31.71 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.2358, allocations: 391.1 kB / 333.3 MB, free: 31.38 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005382/0.2411, allocations: 4.226 MB / 337.5 MB, free: 27.19 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005052/0.2416, allocations: 0.6401 MB / 338.2 MB, free: 26.52 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006808/0.2423, allocations: 285.2 kB / 338.4 MB, free: 26.23 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000266/0.2426, allocations: 112.5 kB / 338.5 MB, free: 26.12 MB / 282.7 MB Notification: Performance of SimCode: time 1.463e-06/0.2426, allocations: 0.7656 kB / 338.6 MB, free: 26.12 MB / 282.7 MB Notification: Performance of Templates: time 0.03752/0.2801, allocations: 28.16 MB / 366.7 MB, free: 13.99 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_withLosses/AIMC_withLosses.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.126200409140438]