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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 107.5 kB / 18.39 MB, free: 4.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 191 kB / 19.33 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 55.92 kB / 329.2 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08452/0.08588, allocations: 46.62 MB / 375.9 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.2069/0.2929, allocations: 9.603 MB / 385.5 MB, free: 8.125 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006463/0.2994, allocations: 3.488 MB / 388.9 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001829/0.3012, allocations: 41.12 kB / 389 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002156/0.3035, allocations: 0.671 MB / 389.7 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002953/0.3064, allocations: 0.8316 MB / 390.5 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.3078, allocations: 454.4 kB / 390.9 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003982/0.3118, allocations: 2.671 MB / 393.6 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002274/0.3141, allocations: 1.818 MB / 395.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002159/0.3162, allocations: 1.189 MB / 396.6 MB, free: 2.328 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002713/0.319, allocations: 1.491 MB / 398.1 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007311/0.3197, allocations: 309.8 kB / 398.4 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001573/0.3213, allocations: 0.5627 MB / 399 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001135/0.3225, allocations: 1.021 MB / 400 MB, free: 1.027 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002245/0.3247, allocations: 1.484 MB / 401.5 MB, free: 48 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00617/0.3309, allocations: 4.287 MB / 405.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3309, allocations: 1.438 kB / 405.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3309, allocations: 0 / 405.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001243/0.3311, allocations: 0 / 405.8 MB, free: 13.62 MB / 334.1 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.00841/0.3395, allocations: 3.15 MB / 408.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.3396, allocations: 12.91 kB / 408.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.3406, allocations: 325.2 kB / 409.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003455/0.3441, allocations: 1.614 MB / 410.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.3442, allocations: 153.3 kB / 411 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003881/0.3446, allocations: 208.2 kB / 411.2 MB, free: 9.957 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00502/0.3497, allocations: 2.693 MB / 413.9 MB, free: 8.344 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.371e-05/0.3498, allocations: 5.531 kB / 413.9 MB, free: 8.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002078/0.35, allocations: 82.19 kB / 414 MB, free: 8.277 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001183/0.3501, allocations: 97.02 kB / 414.1 MB, free: 8.262 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004329/0.3544, allocations: 2.281 MB / 416.4 MB, free: 6.883 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01415/0.3686, allocations: 8.138 MB / 424.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003006/0.3717, allocations: 1.632 MB / 426.1 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002014/0.3737, allocations: 1.104 MB / 427.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002604/0.374, allocations: 122.1 kB / 427.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.374, allocations: 51.48 kB / 427.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=116): time 3.607e-06/0.374, allocations: 0 / 427.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.01347/0.3875, allocations: 6.213 MB / 433.6 MB, free: 5.227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.3876, allocations: 64.72 kB / 433.7 MB, free: 5.152 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003316/0.3909, allocations: 2.152 MB / 435.8 MB, free: 2.953 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001994/0.3912, allocations: 45.7 kB / 435.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008333/0.392, allocations: 1.108 MB / 437 MB, free: 1.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004212/0.3924, allocations: 457.4 kB / 437.4 MB, free: 1.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004224/0.3929, allocations: 243.4 kB / 437.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.393, allocations: 357.9 kB / 438 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/0.3944, allocations: 0.7613 MB / 438.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001472/0.3959, allocations: 1.009 MB / 439.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002843/0.3987, allocations: 1.858 MB / 441.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.916e-06/0.3988, allocations: 7.938 kB / 441.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005363/0.4041, allocations: 2.765 MB / 444.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.4042, allocations: 8 kB / 444.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/0.4042, allocations: 8 kB / 444.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002023/0.4062, allocations: 0.7891 MB / 445.2 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.4074, allocations: 263.6 kB / 445.5 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01237/0.4198, allocations: 9.6 MB / 455.1 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/0.4216, allocations: 91.89 kB / 455.2 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002143/0.4219, allocations: 48 kB / 455.2 MB, free: 15.04 MB / 382.1 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.001661/0.4235, allocations: 0.7434 MB / 456 MB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006933/0.4243, allocations: 213.5 kB / 456.2 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004792/0.4291, allocations: 2.481 MB / 458.7 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.443e-05/0.4291, allocations: 23.98 kB / 458.7 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.4291, allocations: 4 kB / 458.7 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/0.4291, allocations: 7.922 kB / 458.7 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009635/0.4388, allocations: 4.937 MB / 463.6 MB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.4388, allocations: 4 kB / 463.6 MB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.4399, allocations: 227.7 kB / 463.9 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001776/0.4417, allocations: 0.6478 MB / 464.5 MB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/0.4418, allocations: 31.98 kB / 464.5 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009581/0.4514, allocations: 8.694 MB / 473.2 MB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.4514, allocations: 8.016 kB / 473.2 MB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006534/0.458, allocations: 3.536 MB / 476.8 MB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001431/0.4594, allocations: 442.5 kB / 477.2 MB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003557/0.4598, allocations: 28 kB / 477.2 MB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/0.4609, allocations: 95.83 kB / 477.3 MB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003146/0.4612, allocations: 100.8 kB / 477.4 MB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.71e-05/0.4613, allocations: 35.98 kB / 477.5 MB, free: 8.168 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002419/0.4637, allocations: 1.523 MB / 479 MB, free: 6.621 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4637, allocations: 0 / 479 MB, free: 6.621 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0025/0.4662, allocations: 0.5195 MB / 479.5 MB, free: 6.102 MB / 398.1 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.001234/0.4675, allocations: 445.8 kB / 479.9 MB, free: 5.664 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004563/0.4721, allocations: 2.393 MB / 482.3 MB, free: 3.246 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.4721, allocations: 0 / 482.3 MB, free: 3.246 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002673/0.4748, allocations: 1.605 MB / 483.9 MB, free: 1.586 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/0.4773, allocations: 458.2 kB / 484.4 MB, free: 1.133 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009235/0.4865, allocations: 5.177 MB / 489.6 MB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001705/0.4883, allocations: 1.932 MB / 491.5 MB, free: 9.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007453/0.4891, allocations: 143.4 kB / 491.6 MB, free: 9.789 MB / 414.1 MB Notification: Performance of SimCode: time 1.272e-06/0.4891, allocations: 0 / 491.6 MB, free: 9.789 MB / 414.1 MB Notification: Performance of Templates: time 0.0784/0.5675, allocations: 64.3 MB / 0.5429 GB, free: 9.336 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses_res.mat","/var/lib/jenkins1/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/jenkins1/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) Reference file matches