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.001112/0.001112, allocations: 75.75 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.00135/0.00135, allocations: 166.9 kB / 25.33 MB, free: 8.586 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 1.058/1.058, allocations: 158.6 MB / 187.2 MB, free: 2.934 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.914e-06/1.914e-06, allocations: 3.938 kB / 251.1 MB, free: 7.473 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.095e-05/4.286e-05, allocations: 2.312 kB / 251.1 MB, free: 7.469 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.01298/0.01302, allocations: 9.559 MB / 260.6 MB, free: 13.86 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007908/0.02093, allocations: 3.441 MB / 264.1 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009714/0.0219, allocations: 55.62 kB / 264.1 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001771/0.02367, allocations: 0.664 MB / 264.8 MB, free: 9.684 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001923/0.0256, allocations: 0.9082 MB / 265.7 MB, free: 8.77 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008743/0.02647, allocations: 463 kB / 266.2 MB, free: 8.316 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00255/0.02902, allocations: 2.766 MB / 268.9 MB, free: 5.539 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00134/0.03036, allocations: 1.037 MB / 270 MB, free: 4.449 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001782/0.03214, allocations: 1.762 MB / 271.7 MB, free: 2.684 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001732/0.03387, allocations: 1.403 MB / 273.1 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003881/0.03426, allocations: 308 kB / 273.4 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009213/0.03518, allocations: 0.5423 MB / 274 MB, free: 444 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00109/0.03627, allocations: 1.079 MB / 275.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001025/0.0373, allocations: 1.005 MB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002795/0.04009, allocations: 2.484 MB / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.0401, allocations: 0 / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.0401, allocations: 0 / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.581e-05/0.04013, allocations: 0 / 278.5 MB, free: 11.85 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.004826/0.04495, allocations: 3.325 MB / 281.9 MB, free: 8.465 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.045, allocations: 11.98 kB / 281.9 MB, free: 8.453 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.04602, allocations: 0.4911 MB / 282.4 MB, free: 7.961 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002299/0.04832, allocations: 1.438 MB / 283.8 MB, free: 6.484 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.04845, allocations: 148.4 kB / 284 MB, free: 6.336 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003126/0.04876, allocations: 208.3 kB / 284.2 MB, free: 6.133 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003201/0.05196, allocations: 1.68 MB / 285.8 MB, free: 4.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.619e-05/0.05202, allocations: 7.953 kB / 285.8 MB, free: 4.332 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001924/0.05221, allocations: 83.94 kB / 285.9 MB, free: 4.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001331/0.05234, allocations: 95.94 kB / 286 MB, free: 4.156 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00228/0.05462, allocations: 0.7725 MB / 286.8 MB, free: 3.383 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008174/0.0628, allocations: 6.693 MB / 293.5 MB, free: 12.49 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/0.06406, allocations: 0.7747 MB / 294.3 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008153/0.06487, allocations: 0.5725 MB / 294.8 MB, free: 11.13 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001949/0.06507, allocations: 56.95 kB / 294.9 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.06511, allocations: 46.39 kB / 294.9 MB, free: 11.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=116): time 2.986e-06/0.06511, allocations: 0 / 294.9 MB, free: 11.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.005809/0.07092, allocations: 3.586 MB / 298.5 MB, free: 7.387 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.07096, allocations: 68.66 kB / 298.6 MB, free: 7.305 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00142/0.07238, allocations: 1.637 MB / 300.2 MB, free: 5.652 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.452e-05/0.07244, allocations: 49.69 kB / 300.3 MB, free: 5.598 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006684/0.07311, allocations: 1.227 MB / 301.5 MB, free: 4.355 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000275/0.07339, allocations: 483.9 kB / 302 MB, free: 3.879 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002746/0.07366, allocations: 249.2 kB / 302.2 MB, free: 3.629 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.07384, allocations: 0.5316 MB / 302.8 MB, free: 3.09 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004063/0.07424, allocations: 251.8 kB / 303 MB, free: 2.844 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007131/0.07496, allocations: 0.5859 MB / 303.6 MB, free: 2.137 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.076, allocations: 0.9186 MB / 304.5 MB, free: 1.098 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.076, allocations: 4 kB / 304.5 MB, free: 1.094 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002155/0.07816, allocations: 1.514 MB / 306 MB, free: 15.56 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.07818, allocations: 8 kB / 306 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.07819, allocations: 7.984 kB / 306 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001305/0.0795, allocations: 0.5877 MB / 306.6 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005489/0.08005, allocations: 255.6 kB / 306.9 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005806/0.08585, allocations: 6.452 MB / 313.3 MB, free: 8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005324/0.08639, allocations: 99.89 kB / 313.4 MB, free: 7.902 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.079e-05/0.08648, allocations: 44 kB / 313.5 MB, free: 7.859 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.0004546/0.08693, allocations: 236.2 kB / 313.7 MB, free: 7.617 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002748/0.08721, allocations: 238.7 kB / 313.9 MB, free: 7.383 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001835/0.08904, allocations: 1.315 MB / 315.2 MB, free: 6.035 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.121e-05/0.08906, allocations: 19.98 kB / 315.3 MB, free: 6.016 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.08907, allocations: 8 kB / 315.3 MB, free: 6.008 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.08908, allocations: 7.984 kB / 315.3 MB, free: 6 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004464/0.09355, allocations: 3.249 MB / 318.5 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.09355, allocations: 0 / 318.5 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004994/0.09405, allocations: 215.8 kB / 318.7 MB, free: 2.449 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009882/0.09504, allocations: 469.9 kB / 319.2 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.375e-05/0.0951, allocations: 27.98 kB / 319.2 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005101/0.1002, allocations: 7.505 MB / 326.7 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.1002, allocations: 11.92 kB / 326.7 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002359/0.1026, allocations: 1.796 MB / 328.5 MB, free: 8.207 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004919/0.1031, allocations: 334.6 kB / 328.9 MB, free: 7.879 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.1032, allocations: 35.98 kB / 328.9 MB, free: 7.844 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004118/0.1036, allocations: 75.92 kB / 329 MB, free: 7.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002029/0.1038, allocations: 116.8 kB / 329.1 MB, free: 7.656 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-05/0.1039, allocations: 39.98 kB / 329.1 MB, free: 7.617 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009645/0.1048, allocations: 0.977 MB / 330.1 MB, free: 6.648 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1048, allocations: 0 / 330.1 MB, free: 6.648 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001355/0.1062, allocations: 0.5233 MB / 330.6 MB, free: 6.125 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.0009567/0.1071, allocations: 450.5 kB / 331.1 MB, free: 5.719 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002003/0.1091, allocations: 1.531 MB / 332.6 MB, free: 4.152 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.1091, allocations: 0 / 332.6 MB, free: 4.152 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001108/0.1102, allocations: 1.213 MB / 333.8 MB, free: 2.875 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.1113, allocations: 405.6 kB / 334.2 MB, free: 2.477 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004812/0.1161, allocations: 4.262 MB / 338.5 MB, free: 14.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004725/0.1165, allocations: 0.6485 MB / 339.1 MB, free: 13.46 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000795/0.1173, allocations: 298.6 kB / 339.4 MB, free: 13.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002571/0.1176, allocations: 120.5 kB / 339.5 MB, free: 13.05 MB / 330.7 MB Notification: Performance of SimCode: time 1.293e-06/0.1176, allocations: 0 / 339.5 MB, free: 13.05 MB / 330.7 MB Notification: Performance of Templates: time 0.154/0.2715, allocations: 29.68 MB / 369.2 MB, free: 82.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.602782246191055]