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.001354/0.001354, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 14.72 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.001541/0.001541, allocations: 204.7 kB / 25.23 MB, free: 3.551 MB / 14.72 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 1.398/1.398, allocations: 207.6 MB / 236 MB, free: 9.969 MB / 190.1 MB " [Timeout remaining time 178] 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.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_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.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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 55.92 kB / 348.5 MB, free: 9.469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.242, allocations: 49.15 MB / 397.6 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.009713/0.2518, allocations: 9.72 MB / 407.4 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006318/0.2581, allocations: 3.506 MB / 410.9 MB, free: 104 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001746/0.2598, allocations: 53.12 kB / 410.9 MB, free: 80 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002335/0.2622, allocations: 0.7188 MB / 411.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003415/0.2656, allocations: 0.8751 MB / 412.5 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001519/0.2671, allocations: 470.6 kB / 413 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004271/0.2714, allocations: 2.674 MB / 415.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002108/0.2735, allocations: 1.065 MB / 416.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002274/0.2757, allocations: 1.205 MB / 417.9 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003185/0.2789, allocations: 1.55 MB / 419.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001004/0.2799, allocations: 306.3 kB / 419.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002037/0.282, allocations: 0.6316 MB / 420.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00179/0.2838, allocations: 1.041 MB / 421.4 MB, free: 9.941 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003247/0.287, allocations: 1.492 MB / 422.9 MB, free: 8.855 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007034/0.294, allocations: 4.3 MB / 427.2 MB, free: 5.641 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.2941, allocations: 0 / 427.2 MB, free: 5.641 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2941, allocations: 0 / 427.2 MB, free: 5.641 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001608/0.2942, allocations: 4 kB / 427.2 MB, free: 5.637 MB / 334.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.008369/0.3026, allocations: 3.161 MB / 430.4 MB, free: 2.422 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.3026, allocations: 11.98 kB / 430.4 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009755/0.3036, allocations: 335 kB / 430.7 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003537/0.3071, allocations: 1.556 MB / 432.3 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.3073, allocations: 151.9 kB / 432.4 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000451/0.3077, allocations: 207.9 kB / 432.6 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005323/0.313, allocations: 2.698 MB / 435.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.876e-05/0.3131, allocations: 7.953 kB / 435.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002134/0.3133, allocations: 87.91 kB / 435.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001284/0.3134, allocations: 99.92 kB / 435.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004453/0.3179, allocations: 2.283 MB / 437.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01503/0.3329, allocations: 8.013 MB / 445.8 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002976/0.3359, allocations: 1.311 MB / 447.1 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002037/0.3379, allocations: 1.024 MB / 448.2 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002281/0.3382, allocations: 60.94 kB / 448.2 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.401e-05/0.3382, allocations: 47.5 kB / 448.3 MB, free: 220 kB / 350.1 MB Notification: Performance of pre-optimization done (n=116): time 3.827e-06/0.3382, allocations: 0 / 448.3 MB, free: 220 kB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.01335/0.3516, allocations: 6.007 MB / 454.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/0.3516, allocations: 64.72 kB / 454.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003301/0.3549, allocations: 2.156 MB / 456.5 MB, free: 7.887 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002309/0.3552, allocations: 49.7 kB / 456.5 MB, free: 7.832 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009699/0.3561, allocations: 1.125 MB / 457.7 MB, free: 6.695 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005074/0.3566, allocations: 475.9 kB / 458.1 MB, free: 6.227 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004504/0.3571, allocations: 243.5 kB / 458.4 MB, free: 5.984 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.3573, allocations: 361.9 kB / 458.7 MB, free: 5.625 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001431/0.3587, allocations: 0.7613 MB / 459.5 MB, free: 4.863 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001576/0.3603, allocations: 1.009 MB / 460.5 MB, free: 3.766 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003109/0.3634, allocations: 1.861 MB / 462.4 MB, free: 1.812 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.3634, allocations: 4 kB / 462.4 MB, free: 1.809 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005514/0.3689, allocations: 2.75 MB / 465.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.3689, allocations: 8 kB / 465.1 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/0.369, allocations: 8 kB / 465.1 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002091/0.3711, allocations: 0.7814 MB / 465.9 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.3723, allocations: 271.5 kB / 466.2 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01337/0.3856, allocations: 9.402 MB / 475.6 MB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/0.3872, allocations: 95.95 kB / 475.7 MB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001943/0.3874, allocations: 51.98 kB / 475.7 MB, free: 4.191 MB / 382.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.001557/0.389, allocations: 0.7394 MB / 476.5 MB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005321/0.3895, allocations: 214.6 kB / 476.7 MB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00487/0.3944, allocations: 2.481 MB / 479.1 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-05/0.3944, allocations: 12 kB / 479.2 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.3944, allocations: 8 kB / 479.2 MB, free: 0.707 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.983e-05/0.3944, allocations: 15.89 kB / 479.2 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009957/0.4044, allocations: 4.886 MB / 484.1 MB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.4044, allocations: 8.125 kB / 484.1 MB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.4054, allocations: 215.7 kB / 484.3 MB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001833/0.4073, allocations: 0.6551 MB / 484.9 MB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001412/0.4074, allocations: 27.98 kB / 485 MB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01028/0.4177, allocations: 8.394 MB / 493.4 MB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.4177, allocations: 8.031 kB / 493.4 MB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006768/0.4245, allocations: 3.533 MB / 496.9 MB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001285/0.4257, allocations: 374.5 kB / 497.3 MB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004008/0.4261, allocations: 31.98 kB / 497.3 MB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.4272, allocations: 79.91 kB / 497.4 MB, free: 14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002858/0.4275, allocations: 112.8 kB / 497.5 MB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.986e-05/0.4276, allocations: 35.98 kB / 497.5 MB, free: 13.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002387/0.43, allocations: 1.523 MB / 499 MB, free: 12.31 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.43, allocations: 0 / 499 MB, free: 12.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002232/0.4322, allocations: 0.5195 MB / 499.6 MB, free: 11.79 MB / 414.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.001733/0.4339, allocations: 473.5 kB / 0.4883 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004715/0.4386, allocations: 2.298 MB / 0.4906 GB, free: 8.992 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.4387, allocations: 1.25 kB / 0.4906 GB, free: 8.992 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002749/0.4414, allocations: 1.463 MB / 0.492 GB, free: 7.484 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002619/0.444, allocations: 454.1 kB / 0.4924 GB, free: 7.035 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.4546, allocations: 5.284 MB / 0.4976 GB, free: 1.691 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002351/0.4569, allocations: 1.932 MB / 0.4995 GB, free: 15.72 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006906/0.4576, allocations: 139.4 kB / 0.4996 GB, free: 15.59 MB / 430.1 MB Notification: Performance of SimCode: time 1.011e-06/0.4576, allocations: 4 kB / 0.4996 GB, free: 15.58 MB / 430.1 MB Notification: Performance of Templates: time 0.2602/0.7178, allocations: 64.16 MB / 0.5623 GB, free: 149.6 MB / 478.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_withLosses/AIMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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: 13.993052609963343]