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.001146/0.001146, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.001374/0.001374, allocations: 158.9 kB / 25.75 MB, free: 8.949 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.9873/0.9873, allocations: 158.6 MB / 187.6 MB, free: 2.941 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.243e-06/1.243e-06, allocations: 0 / 251.2 MB, free: 7.762 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.116e-05/1.24e-05, allocations: 2.312 kB / 251.2 MB, free: 7.758 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.008399/0.008411, allocations: 9.504 MB / 260.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006699/0.01511, allocations: 3.433 MB / 264.1 MB, free: 10.76 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005726/0.01568, allocations: 59.62 kB / 264.2 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.01689, allocations: 0.66 MB / 264.8 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.01818, allocations: 0.912 MB / 265.7 MB, free: 9.117 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005736/0.01876, allocations: 463.1 kB / 266.2 MB, free: 8.664 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001703/0.02046, allocations: 2.758 MB / 268.9 MB, free: 5.895 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009524/0.02141, allocations: 1.037 MB / 270 MB, free: 4.805 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/0.02266, allocations: 1.762 MB / 271.7 MB, free: 3.039 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001223/0.02389, allocations: 1.407 MB / 273.1 MB, free: 1.629 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002502/0.02414, allocations: 304 kB / 273.4 MB, free: 1.332 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006167/0.02476, allocations: 0.5501 MB / 274 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006826/0.02544, allocations: 1.079 MB / 275.1 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007134/0.02615, allocations: 1.005 MB / 276.1 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001995/0.02815, allocations: 2.476 MB / 278.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.02815, allocations: 0 / 278.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.02815, allocations: 0 / 278.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.804e-05/0.02817, allocations: 0 / 278.5 MB, free: 12.21 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.003319/0.03149, allocations: 3.328 MB / 281.9 MB, free: 8.816 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.03153, allocations: 11.98 kB / 281.9 MB, free: 8.805 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007159/0.03224, allocations: 0.4989 MB / 282.4 MB, free: 8.305 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.03376, allocations: 1.43 MB / 283.8 MB, free: 6.836 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.866e-05/0.03385, allocations: 152.4 kB / 284 MB, free: 6.684 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002038/0.03406, allocations: 208.3 kB / 284.2 MB, free: 6.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00209/0.03615, allocations: 1.68 MB / 285.8 MB, free: 4.688 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.086e-05/0.03619, allocations: 3.953 kB / 285.9 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/0.03632, allocations: 84 kB / 285.9 MB, free: 4.602 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.979e-05/0.03641, allocations: 91.94 kB / 286 MB, free: 4.512 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.03778, allocations: 0.7647 MB / 286.8 MB, free: 3.746 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007129/0.04491, allocations: 6.701 MB / 293.5 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/0.0465, allocations: 0.7657 MB / 294.3 MB, free: 12.07 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000886/0.04738, allocations: 0.5815 MB / 294.8 MB, free: 11.48 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000178/0.04756, allocations: 60.94 kB / 294.9 MB, free: 11.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.0476, allocations: 50.39 kB / 294.9 MB, free: 11.37 MB / 282.7 MB Notification: Performance of pre-optimization done (n=116): time 3.226e-06/0.0476, allocations: 0 / 294.9 MB, free: 11.37 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.00636/0.05396, allocations: 3.582 MB / 298.5 MB, free: 7.738 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.054, allocations: 68.72 kB / 298.6 MB, free: 7.656 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/0.05566, allocations: 1.637 MB / 300.2 MB, free: 6.004 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.633e-05/0.05574, allocations: 45.7 kB / 300.3 MB, free: 5.953 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006786/0.05642, allocations: 1.227 MB / 301.5 MB, free: 4.711 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003086/0.05673, allocations: 480 kB / 302 MB, free: 4.238 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002804/0.05701, allocations: 245.2 kB / 302.2 MB, free: 3.992 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.05715, allocations: 0.5394 MB / 302.8 MB, free: 3.445 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004371/0.05759, allocations: 251.8 kB / 303 MB, free: 3.199 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007123/0.0583, allocations: 0.582 MB / 303.6 MB, free: 2.496 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.05938, allocations: 0.9264 MB / 304.5 MB, free: 1.449 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.05938, allocations: 4 kB / 304.5 MB, free: 1.445 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002458/0.06184, allocations: 1.518 MB / 306 MB, free: 15.9 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.06186, allocations: 8 kB / 306 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.06187, allocations: 8 kB / 306 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001438/0.06331, allocations: 0.5799 MB / 306.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000608/0.06392, allocations: 263.6 kB / 306.9 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006199/0.07012, allocations: 6.452 MB / 313.3 MB, free: 8.344 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009369/0.07106, allocations: 83.91 kB / 313.4 MB, free: 8.262 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.07116, allocations: 51.94 kB / 313.5 MB, free: 8.211 MB / 298.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.0006222/0.07178, allocations: 236.3 kB / 313.7 MB, free: 7.969 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003879/0.07217, allocations: 238.7 kB / 313.9 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002069/0.07424, allocations: 1.319 MB / 315.2 MB, free: 6.383 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.509e-05/0.07427, allocations: 16 kB / 315.3 MB, free: 6.367 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.07428, allocations: 4 kB / 315.3 MB, free: 6.363 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.07429, allocations: 3.984 kB / 315.3 MB, free: 6.359 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005176/0.07946, allocations: 3.265 MB / 318.5 MB, free: 3.008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.07947, allocations: 0 / 318.5 MB, free: 3.008 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005476/0.08002, allocations: 203.7 kB / 318.7 MB, free: 2.809 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001124/0.08114, allocations: 465.1 kB / 319.2 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.929e-05/0.08122, allocations: 39.95 kB / 319.2 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005553/0.08677, allocations: 7.507 MB / 326.7 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.08678, allocations: 11.86 kB / 326.7 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002938/0.08972, allocations: 1.8 MB / 328.5 MB, free: 8.559 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006632/0.09038, allocations: 334.6 kB / 328.9 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001896/0.09057, allocations: 27.98 kB / 328.9 MB, free: 8.203 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005042/0.09107, allocations: 79.98 kB / 329 MB, free: 8.125 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002682/0.09134, allocations: 116.8 kB / 329.1 MB, free: 8.012 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-05/0.09141, allocations: 35.98 kB / 329.1 MB, free: 7.977 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001197/0.0926, allocations: 0.9771 MB / 330.1 MB, free: 7.008 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.0926, allocations: 0 / 330.1 MB, free: 7.008 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001519/0.09412, allocations: 0.5233 MB / 330.6 MB, free: 6.484 MB / 314.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.001059/0.09518, allocations: 445.3 kB / 331.1 MB, free: 6.078 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002609/0.09779, allocations: 1.529 MB / 332.6 MB, free: 4.516 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.0978, allocations: 4 kB / 332.6 MB, free: 4.512 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.09913, allocations: 1.212 MB / 333.8 MB, free: 3.234 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.1005, allocations: 405.9 kB / 334.2 MB, free: 2.836 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006111/0.1066, allocations: 4.261 MB / 338.5 MB, free: 14.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009893/0.1076, allocations: 0.6485 MB / 339.1 MB, free: 13.82 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008336/0.1085, allocations: 294.6 kB / 339.4 MB, free: 13.53 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002754/0.1087, allocations: 128.5 kB / 339.5 MB, free: 13.41 MB / 330.7 MB Notification: Performance of SimCode: time 2.064e-06/0.1087, allocations: 4 kB / 339.5 MB, free: 13.4 MB / 330.7 MB Notification: Performance of Templates: time 0.1283/0.2371, allocations: 29.67 MB / 369.2 MB, free: 93.62 MB / 330.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.366743370192125]