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.00115/0.00115, allocations: 80.8 kB / 22.29 MB, free: 2.199 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.001113/0.001113, allocations: 169.5 kB / 25.69 MB, free: 8.398 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.9224/0.9224, allocations: 158.6 MB / 187.6 MB, free: 2.777 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.723e-06/1.723e-06, allocations: 0 / 251.6 MB, free: 7.176 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.071e-05/2.243e-05, allocations: 10.25 kB / 251.6 MB, free: 7.164 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.008633/0.008655, allocations: 9.371 MB / 261 MB, free: 13.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006757/0.01541, allocations: 3.533 MB / 264.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00141/0.01682, allocations: 51.62 kB / 264.6 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001746/0.01857, allocations: 0.6756 MB / 265.2 MB, free: 9.465 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002575/0.02114, allocations: 0.908 MB / 266.2 MB, free: 8.551 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009799/0.02212, allocations: 459.1 kB / 266.6 MB, free: 8.102 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00301/0.02513, allocations: 2.774 MB / 269.4 MB, free: 5.316 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/0.02637, allocations: 1.061 MB / 270.4 MB, free: 4.191 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003061/0.02943, allocations: 1.98 MB / 272.4 MB, free: 2.207 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001692/0.03112, allocations: 1.34 MB / 273.8 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004793/0.0316, allocations: 296 kB / 274 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.03261, allocations: 0.5307 MB / 274.6 MB, free: 44 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008052/0.03342, allocations: 1.044 MB / 275.6 MB, free: 15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001158/0.03458, allocations: 0.9664 MB / 276.6 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003088/0.03766, allocations: 2.441 MB / 279 MB, free: 11.58 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.03767, allocations: 0 / 279 MB, free: 11.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.03767, allocations: 0 / 279 MB, free: 11.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.957e-05/0.03774, allocations: 0 / 279 MB, free: 11.58 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.003412/0.04115, allocations: 2.925 MB / 282 MB, free: 8.605 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.04119, allocations: 15.98 kB / 282 MB, free: 8.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006911/0.04188, allocations: 388.6 kB / 282.4 MB, free: 8.211 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001509/0.04339, allocations: 1.107 MB / 283.5 MB, free: 7.055 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.0435, allocations: 152.4 kB / 283.6 MB, free: 6.902 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002331/0.04373, allocations: 204.3 kB / 283.8 MB, free: 6.703 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002158/0.04589, allocations: 1.566 MB / 285.4 MB, free: 5.031 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.53e-05/0.04593, allocations: 7.953 kB / 285.4 MB, free: 5.023 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/0.04606, allocations: 83.98 kB / 285.5 MB, free: 4.941 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.139e-05/0.04615, allocations: 95.92 kB / 285.6 MB, free: 4.848 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009553/0.04711, allocations: 0.6061 MB / 286.2 MB, free: 4.238 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006318/0.05342, allocations: 4.867 MB / 291 MB, free: 15.2 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/0.05494, allocations: 0.7187 MB / 291.7 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009473/0.05589, allocations: 483.5 kB / 292.2 MB, free: 13.99 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000161/0.05605, allocations: 44.98 kB / 292.3 MB, free: 13.95 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003001/0.05635, allocations: 43.56 kB / 292.3 MB, free: 13.9 MB / 282.7 MB Notification: Performance of pre-optimization done (n=116): time 3.026e-06/0.05635, allocations: 0 / 292.3 MB, free: 13.9 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.006314/0.06267, allocations: 2.735 MB / 295 MB, free: 11.12 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.06271, allocations: 68.72 kB / 295.1 MB, free: 11.04 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.064, allocations: 1.398 MB / 296.5 MB, free: 9.637 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.962e-05/0.06407, allocations: 49.7 kB / 296.6 MB, free: 9.582 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003972/0.06447, allocations: 0.8506 MB / 297.4 MB, free: 8.719 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002499/0.06472, allocations: 475.8 kB / 297.9 MB, free: 8.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002437/0.06496, allocations: 227.5 kB / 298.1 MB, free: 8.023 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.407e-05/0.06506, allocations: 365.8 kB / 298.4 MB, free: 7.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/0.06531, allocations: 170.8 kB / 298.6 MB, free: 7.492 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003434/0.06565, allocations: 413.9 kB / 299 MB, free: 7 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009938/0.06665, allocations: 0.7187 MB / 299.7 MB, free: 6.191 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.06665, allocations: 0 / 299.7 MB, free: 6.191 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001499/0.06815, allocations: 1.055 MB / 300.8 MB, free: 5.117 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.06817, allocations: 12 kB / 300.8 MB, free: 5.105 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.06819, allocations: 4 kB / 300.8 MB, free: 5.102 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/0.06929, allocations: 0.5261 MB / 301.3 MB, free: 4.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006156/0.0699, allocations: 271.6 kB / 301.6 MB, free: 4.305 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004109/0.07401, allocations: 4.625 MB / 306.2 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005825/0.07459, allocations: 47.98 kB / 306.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.802e-05/0.07467, allocations: 32 kB / 306.3 MB, free: 15.42 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%), (5,34,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004608/0.07513, allocations: 200.4 kB / 306.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005162/0.07565, allocations: 155.8 kB / 306.7 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.07694, allocations: 0.9965 MB / 307.6 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.07696, allocations: 16 kB / 307.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.07697, allocations: 4 kB / 307.7 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.07698, allocations: 7.969 kB / 307.7 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002997/0.07997, allocations: 2.263 MB / 309.9 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.07998, allocations: 4 kB / 309.9 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005414/0.08052, allocations: 199.7 kB / 310.1 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000895/0.08142, allocations: 476.7 kB / 310.6 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-05/0.08148, allocations: 27.98 kB / 310.6 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003747/0.08523, allocations: 5.398 MB / 316 MB, free: 5.297 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.08523, allocations: 0 / 316 MB, free: 5.297 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.08698, allocations: 1.351 MB / 317.4 MB, free: 3.891 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003817/0.08736, allocations: 234.6 kB / 317.6 MB, free: 3.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.08748, allocations: 24 kB / 317.6 MB, free: 3.637 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003726/0.08785, allocations: 47.97 kB / 317.7 MB, free: 3.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002119/0.08806, allocations: 104.7 kB / 317.8 MB, free: 3.488 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.877e-05/0.08812, allocations: 31.97 kB / 317.8 MB, free: 3.457 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005885/0.08871, allocations: 0.6664 MB / 318.5 MB, free: 2.797 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08871, allocations: 4 kB / 318.5 MB, free: 2.793 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001227/0.08994, allocations: 0.5115 MB / 319 MB, free: 2.281 MB / 298.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.001103/0.09104, allocations: 0.5336 MB / 319.5 MB, free: 1.797 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001533/0.09258, allocations: 1.171 MB / 320.7 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-05/0.0926, allocations: 24.5 kB / 320.7 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001201/0.0938, allocations: 0.9041 MB / 321.6 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009853/0.09479, allocations: 385.5 kB / 322 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00489/0.09968, allocations: 4.023 MB / 326 MB, free: 11.14 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004929/0.1002, allocations: 0.5816 MB / 326.6 MB, free: 10.54 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005546/0.1007, allocations: 205.4 kB / 326.8 MB, free: 10.33 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006267/0.1014, allocations: 373.1 kB / 327.2 MB, free: 9.965 MB / 314.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1014, allocations: 0 / 327.2 MB, free: 9.965 MB / 314.7 MB Notification: Performance of Templates: time 0.1431/0.2445, allocations: 28.52 MB / 355.7 MB, free: 89.52 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 -s gbode -gbm=radauIIA3 -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: 3.9704444063827395]