Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001387/0.001386, allocations: 173.2 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008966/0.0008967, allocations: 86.36 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003196/0.0003196, allocations: 8 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2428, allocations: 47.59 MB / 375.1 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.008816/0.2517, allocations: 8.493 MB / 383.6 MB, free: 38.81 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006552/0.2583, allocations: 3.281 MB / 386.9 MB, free: 36.12 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001605/0.2599, allocations: 38.81 kB / 386.9 MB, free: 36.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001898/0.2618, allocations: 0.5261 MB / 387.4 MB, free: 35.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002713/0.2646, allocations: 0.7188 MB / 388.2 MB, free: 35.15 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.2657, allocations: 311.3 kB / 388.5 MB, free: 34.92 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003048/0.2687, allocations: 2.783 MB / 391.3 MB, free: 32.54 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001547/0.2703, allocations: 1.479 MB / 392.7 MB, free: 31.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001369/0.2717, allocations: 0.9143 MB / 393.6 MB, free: 30.1 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001642/0.2733, allocations: 1.327 MB / 395 MB, free: 28.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003121/0.2736, allocations: 140 kB / 395.1 MB, free: 28.63 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008529/0.2745, allocations: 391.5 kB / 395.5 MB, free: 28.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005696/0.2751, allocations: 0.7944 MB / 396.3 MB, free: 27.45 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001054/0.2761, allocations: 1.23 MB / 397.5 MB, free: 26.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002289/0.2784, allocations: 3.397 MB / 400.9 MB, free: 22.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2785, allocations: 0 / 400.9 MB, free: 22.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2785, allocations: 0 / 400.9 MB, free: 22.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.022e-05/0.2785, allocations: 0 / 400.9 MB, free: 22.8 MB / 298.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.004221/0.2828, allocations: 2.694 MB / 403.6 MB, free: 20.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.2828, allocations: 12.03 kB / 403.6 MB, free: 20.03 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006696/0.2835, allocations: 325.2 kB / 403.9 MB, free: 19.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002104/0.2856, allocations: 1.584 MB / 405.5 MB, free: 18.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.25e-05/0.2857, allocations: 163.9 kB / 405.7 MB, free: 17.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002497/0.286, allocations: 211.8 kB / 405.9 MB, free: 17.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003747/0.2897, allocations: 2.686 MB / 408.6 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.198e-05/0.2898, allocations: 11.84 kB / 408.6 MB, free: 14.92 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001613/0.2899, allocations: 80 kB / 408.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.794e-05/0.29, allocations: 95.94 kB / 408.8 MB, free: 14.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003256/0.2933, allocations: 2.295 MB / 411.1 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01052/0.3038, allocations: 8.286 MB / 419.3 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002425/0.3063, allocations: 1.628 MB / 421 MB, free: 2.277 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001551/0.3079, allocations: 1.115 MB / 422.1 MB, free: 1.164 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002372/0.3081, allocations: 126.1 kB / 422.2 MB, free: 1.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.3082, allocations: 55.5 kB / 422.3 MB, free: 0.957 MB / 298.7 MB Notification: Performance of pre-optimization done (n=116): time 4.509e-06/0.3082, allocations: 0 / 422.3 MB, free: 0.957 MB / 298.7 MB Notification: Performance of matching and sorting (n=132): time 0.01239/0.3206, allocations: 6.258 MB / 428.5 MB, free: 10.6 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.3207, allocations: 68.72 kB / 428.6 MB, free: 10.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003062/0.3238, allocations: 2.152 MB / 430.7 MB, free: 8.316 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001511/0.3239, allocations: 45.7 kB / 430.8 MB, free: 8.266 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008117/0.3248, allocations: 1.104 MB / 431.9 MB, free: 7.148 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003716/0.3251, allocations: 461.2 kB / 432.3 MB, free: 6.691 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.553e-05/0.3252, allocations: 28 kB / 432.4 MB, free: 6.664 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3254, allocations: 357.9 kB / 432.7 MB, free: 6.309 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/0.3267, allocations: 0.7652 MB / 433.5 MB, free: 5.543 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001399/0.3281, allocations: 1.017 MB / 434.5 MB, free: 4.438 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002829/0.331, allocations: 1.873 MB / 436.4 MB, free: 2.477 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.331, allocations: 4 kB / 436.4 MB, free: 2.473 MB / 314.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005129/0.3361, allocations: 2.78 MB / 439.2 MB, free: 15.67 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.3362, allocations: 8 kB / 439.2 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.3362, allocations: 11.98 kB / 439.2 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00201/0.3382, allocations: 0.7814 MB / 440 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.3393, allocations: 275.6 kB / 440.2 MB, free: 14.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/0.3505, allocations: 8.735 MB / 449 MB, free: 5.586 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.3519, allocations: 103.9 kB / 449.1 MB, free: 5.484 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.352, allocations: 48 kB / 449.1 MB, free: 5.438 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(6,88.9%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001282/0.3533, allocations: 0.7394 MB / 449.8 MB, free: 4.688 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003767/0.3537, allocations: 201.5 kB / 450 MB, free: 4.488 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004356/0.3581, allocations: 2.516 MB / 452.6 MB, free: 1.945 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.762e-05/0.3581, allocations: 19.98 kB / 452.6 MB, free: 1.926 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.3581, allocations: 8 kB / 452.6 MB, free: 1.918 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.3581, allocations: 3.984 kB / 452.6 MB, free: 1.914 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008189/0.3663, allocations: 4.967 MB / 457.6 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.3664, allocations: 0 / 457.6 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009998/0.3674, allocations: 227.6 kB / 457.8 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001686/0.3691, allocations: 0.6475 MB / 458.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/0.3692, allocations: 35.92 kB / 458.5 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008393/0.3776, allocations: 7.92 MB / 466.4 MB, free: 3.621 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3776, allocations: 0 / 466.4 MB, free: 3.621 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006015/0.3837, allocations: 3.557 MB / 469.9 MB, free: 16 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009881/0.3847, allocations: 454.3 kB / 470.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002303/0.3849, allocations: 32.06 kB / 470.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009108/0.3858, allocations: 99.89 kB / 470.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002788/0.3861, allocations: 100.8 kB / 470.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-05/0.3862, allocations: 35.98 kB / 470.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002053/0.3883, allocations: 1.508 MB / 472.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3883, allocations: 0 / 472.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001815/0.3901, allocations: 0.5197 MB / 472.7 MB, free: 13.23 MB / 362.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 (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 6,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001119/0.3913, allocations: 462.4 kB / 473.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004517/0.3958, allocations: 2.399 MB / 475.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.3958, allocations: 0 / 475.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002552/0.3984, allocations: 1.613 MB / 477.1 MB, free: 8.691 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/0.4009, allocations: 422.9 kB / 477.5 MB, free: 8.273 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008774/0.4096, allocations: 6.075 MB / 483.6 MB, free: 2.148 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001679/0.4114, allocations: 1.932 MB / 485.6 MB, free: 184 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006428/0.412, allocations: 151.3 kB / 485.7 MB, free: 32 kB / 362.7 MB Notification: Performance of SimCode: time 6.92e-07/0.412, allocations: 0 / 485.7 MB, free: 32 kB / 362.7 MB Notification: Performance of Templates: time 0.2136/0.6257, allocations: 63.38 MB / 0.5362 GB, free: 68.25 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches