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.0009629/0.0009629, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0009773/0.0009773, allocations: 158.3 kB / 25.45 MB, free: 9.344 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.8673/0.8673, allocations: 158.6 MB / 187.2 MB, free: 3.035 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.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: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 299.7 MB, free: 6.875 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.081e-05, allocations: 2.281 kB / 299.7 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.007215/0.007236, allocations: 8.526 MB / 308.3 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004442/0.01168, allocations: 3.293 MB / 311.6 MB, free: 10.99 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004918/0.01217, allocations: 51.62 kB / 311.6 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.01329, allocations: 0.6636 MB / 312.3 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001211/0.0145, allocations: 0.9082 MB / 313.2 MB, free: 9.359 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006467/0.01515, allocations: 459.1 kB / 313.6 MB, free: 8.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001655/0.0168, allocations: 2.774 MB / 316.4 MB, free: 6.125 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008959/0.0177, allocations: 1.034 MB / 317.4 MB, free: 5.047 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001704/0.0194, allocations: 1.754 MB / 319.2 MB, free: 3.289 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001361/0.02076, allocations: 1.301 MB / 320.5 MB, free: 1.984 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002681/0.02103, allocations: 308 kB / 320.8 MB, free: 1.684 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006753/0.0217, allocations: 0.5385 MB / 321.3 MB, free: 1.145 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006295/0.02233, allocations: 1.063 MB / 322.4 MB, free: 80 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007273/0.02306, allocations: 0.9977 MB / 323.4 MB, free: 15.07 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003028/0.02609, allocations: 4.311 MB / 327.7 MB, free: 10.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.02609, allocations: 3.938 kB / 327.7 MB, free: 10.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.02609, allocations: 0 / 327.7 MB, free: 10.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.534e-05/0.02613, allocations: 0 / 327.7 MB, free: 10.75 MB / 314.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.003418/0.02955, allocations: 3.13 MB / 330.8 MB, free: 7.562 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.02959, allocations: 15.98 kB / 330.9 MB, free: 7.547 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005128/0.0301, allocations: 338.9 kB / 331.2 MB, free: 7.215 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001859/0.03196, allocations: 1.552 MB / 332.7 MB, free: 5.625 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.194e-05/0.03205, allocations: 160.3 kB / 332.9 MB, free: 5.465 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001978/0.03224, allocations: 208.2 kB / 333.1 MB, free: 5.262 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002805/0.03505, allocations: 2.798 MB / 335.9 MB, free: 2.359 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.133e-05/0.03509, allocations: 11.95 kB / 335.9 MB, free: 2.348 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000127/0.03522, allocations: 79.98 kB / 336 MB, free: 2.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.409e-05/0.03529, allocations: 95.94 kB / 336.1 MB, free: 2.176 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002481/0.03777, allocations: 2.272 MB / 338.3 MB, free: 15.9 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007271/0.04504, allocations: 7.063 MB / 345.4 MB, free: 8.652 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/0.04671, allocations: 1.312 MB / 346.7 MB, free: 7.332 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/0.04798, allocations: 1.02 MB / 347.7 MB, free: 6.309 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001502/0.04813, allocations: 48.97 kB / 347.8 MB, free: 6.262 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.04815, allocations: 47.5 kB / 347.8 MB, free: 6.203 MB / 330.7 MB Notification: Performance of pre-optimization done (n=116): time 3.136e-06/0.04816, allocations: 0 / 347.8 MB, free: 6.203 MB / 330.7 MB Notification: Performance of matching and sorting (n=132): time 0.00733/0.05549, allocations: 6.01 MB / 353.8 MB, free: 164 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.05553, allocations: 64.72 kB / 353.9 MB, free: 88 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1593/0.2148, allocations: 2.014 MB / 355.9 MB, free: 58.85 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002997/0.2151, allocations: 47.39 kB / 356 MB, free: 58.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005983/0.2157, allocations: 1.135 MB / 357.1 MB, free: 58.3 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002845/0.216, allocations: 479.2 kB / 357.6 MB, free: 58.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000289/0.2163, allocations: 244.6 kB / 357.8 MB, free: 57.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.844e-05/0.2164, allocations: 356.2 kB / 358.2 MB, free: 57.65 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.2174, allocations: 0.7568 MB / 358.9 MB, free: 57.39 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/0.2185, allocations: 1.009 MB / 359.9 MB, free: 56.86 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002173/0.2207, allocations: 1.861 MB / 361.8 MB, free: 55.96 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.782e-06/0.2207, allocations: 2.062 kB / 361.8 MB, free: 55.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003793/0.2245, allocations: 2.74 MB / 364.5 MB, free: 54.94 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.2245, allocations: 10.69 kB / 364.5 MB, free: 54.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.2246, allocations: 12.03 kB / 364.6 MB, free: 54.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/0.226, allocations: 0.7776 MB / 365.3 MB, free: 54.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006297/0.2266, allocations: 273.8 kB / 365.6 MB, free: 54.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006995/0.2336, allocations: 9.231 MB / 374.8 MB, free: 48.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007141/0.2343, allocations: 87.89 kB / 374.9 MB, free: 48.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-05/0.2344, allocations: 55.97 kB / 375 MB, free: 48.75 MB / 330.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.001014/0.2354, allocations: 0.7493 MB / 375.7 MB, free: 47.99 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/0.2356, allocations: 198.7 kB / 375.9 MB, free: 47.8 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002422/0.238, allocations: 2.471 MB / 378.4 MB, free: 45.31 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/0.2381, allocations: 12 kB / 378.4 MB, free: 45.3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.2381, allocations: 8 kB / 378.4 MB, free: 45.29 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.2381, allocations: 7.969 kB / 378.4 MB, free: 45.28 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004314/0.2424, allocations: 4.372 MB / 382.8 MB, free: 40.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.2424, allocations: 0 / 382.8 MB, free: 40.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00048/0.2429, allocations: 219.6 kB / 383 MB, free: 40.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008703/0.2437, allocations: 0.6427 MB / 383.6 MB, free: 40.01 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-05/0.2438, allocations: 37.19 kB / 383.7 MB, free: 39.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004508/0.2483, allocations: 8.241 MB / 391.9 MB, free: 31.46 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2483, allocations: 0 / 391.9 MB, free: 31.46 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003334/0.2516, allocations: 3.511 MB / 395.4 MB, free: 27.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005119/0.2522, allocations: 362.5 kB / 395.8 MB, free: 27.55 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.2523, allocations: 31.98 kB / 395.8 MB, free: 27.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00046/0.2527, allocations: 81.86 kB / 395.9 MB, free: 27.45 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002024/0.2529, allocations: 108.7 kB / 396 MB, free: 27.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.462e-05/0.253, allocations: 43.98 kB / 396 MB, free: 27.29 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001171/0.2542, allocations: 1.407 MB / 397.4 MB, free: 25.89 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2542, allocations: 0 / 397.4 MB, free: 25.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001449/0.2556, allocations: 0.5271 MB / 398 MB, free: 25.38 MB / 330.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.000941/0.2566, allocations: 489 kB / 398.5 MB, free: 24.95 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002429/0.259, allocations: 2.299 MB / 400.8 MB, free: 22.62 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.259, allocations: 0 / 400.8 MB, free: 22.62 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001247/0.2602, allocations: 1.46 MB / 402.2 MB, free: 21.13 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009756/0.2612, allocations: 389 kB / 402.6 MB, free: 20.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004622/0.2658, allocations: 5.072 MB / 407.7 MB, free: 15.64 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008124/0.2666, allocations: 1.356 MB / 409 MB, free: 14.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002746/0.2669, allocations: 132.5 kB / 409.1 MB, free: 14.12 MB / 330.7 MB Notification: Performance of SimCode: time 1.453e-06/0.2669, allocations: 3.938 kB / 409.2 MB, free: 14.12 MB / 330.7 MB Notification: Performance of Templates: time 0.05045/0.3174, allocations: 64.06 MB / 473.2 MB, free: 13.91 MB / 394.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=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/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","/var/lib/jenkins/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: 8.118503337725997]