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.003405/0.003405, allocations: 106.5 kB / 17.73 MB, free: 5.359 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.001865/0.001865, allocations: 187.1 kB / 18.66 MB, free: 4.438 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.788/1.788, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001202/0.001202, allocations: 51.91 kB / 328.6 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1029, allocations: 46.62 MB / 375.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.2089/0.3119, allocations: 9.598 MB / 384.8 MB, free: 8.137 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006499/0.3184, allocations: 3.49 MB / 388.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001316/0.3198, allocations: 41.19 kB / 388.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001854/0.3217, allocations: 0.7057 MB / 389 MB, free: 5.762 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002375/0.3241, allocations: 0.8722 MB / 389.9 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.3252, allocations: 451.8 kB / 390.3 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003095/0.3283, allocations: 2.673 MB / 393 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002197/0.3305, allocations: 1.824 MB / 394.8 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00243/0.3329, allocations: 1.183 MB / 396 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002857/0.3358, allocations: 1.497 MB / 397.5 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005394/0.3364, allocations: 305.2 kB / 397.8 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.3377, allocations: 0.5686 MB / 398.4 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001114/0.3388, allocations: 1.018 MB / 399.4 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001566/0.3404, allocations: 1.486 MB / 400.9 MB, free: 8 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005215/0.3456, allocations: 4.285 MB / 405.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3457, allocations: 0 / 405.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3457, allocations: 0 / 405.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.997e-05/0.3458, allocations: 0.6562 kB / 405.2 MB, free: 13.57 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.006766/0.3525, allocations: 3.146 MB / 408.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.3526, allocations: 13.5 kB / 408.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.3536, allocations: 325.4 kB / 408.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002956/0.3566, allocations: 1.612 MB / 410.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.3567, allocations: 158.3 kB / 410.4 MB, free: 9.988 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004033/0.3571, allocations: 200.8 kB / 410.6 MB, free: 9.922 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005268/0.3624, allocations: 2.697 MB / 413.3 MB, free: 8.305 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.593e-05/0.3625, allocations: 9.688 kB / 413.3 MB, free: 8.297 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001954/0.3627, allocations: 82.39 kB / 413.4 MB, free: 8.234 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001259/0.3628, allocations: 96.36 kB / 413.5 MB, free: 8.219 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004553/0.3674, allocations: 2.286 MB / 415.8 MB, free: 6.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0149/0.3823, allocations: 8.134 MB / 423.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003063/0.3854, allocations: 1.639 MB / 425.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00214/0.3876, allocations: 1.1 MB / 426.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002958/0.3879, allocations: 130 kB / 426.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.781e-05/0.388, allocations: 47.5 kB / 426.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=116): time 5.51e-06/0.388, allocations: 0 / 426.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.01392/0.4019, allocations: 6.209 MB / 433 MB, free: 5.164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.848e-05/0.402, allocations: 64.72 kB / 433.1 MB, free: 5.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003675/0.4057, allocations: 2.156 MB / 435.2 MB, free: 2.887 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001523/0.4059, allocations: 45.7 kB / 435.3 MB, free: 2.836 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009047/0.4068, allocations: 1.104 MB / 436.4 MB, free: 1.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004363/0.4073, allocations: 461.4 kB / 436.8 MB, free: 1.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004408/0.4077, allocations: 243.4 kB / 437.1 MB, free: 1.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.4079, allocations: 361.9 kB / 437.4 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001366/0.4093, allocations: 0.7574 MB / 438.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001457/0.4107, allocations: 1.009 MB / 439.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00284/0.4136, allocations: 1.854 MB / 441.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.4136, allocations: 7.938 kB / 441.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005453/0.4191, allocations: 2.761 MB / 443.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.4191, allocations: 8 kB / 443.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.4191, allocations: 4 kB / 443.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002054/0.4212, allocations: 0.793 MB / 444.6 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.4223, allocations: 263.6 kB / 444.9 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01256/0.4349, allocations: 9.604 MB / 454.5 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002004/0.4369, allocations: 91.89 kB / 454.6 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.4371, allocations: 51.98 kB / 454.6 MB, free: 14.97 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.00185/0.4389, allocations: 0.7395 MB / 455.4 MB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005449/0.4395, allocations: 209.4 kB / 455.6 MB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004855/0.4444, allocations: 2.481 MB / 458.1 MB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.206e-05/0.4444, allocations: 23.98 kB / 458.1 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.4444, allocations: 4 kB / 458.1 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.4445, allocations: 7.922 kB / 458.1 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009344/0.4538, allocations: 4.933 MB / 463 MB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.4539, allocations: 3.984 kB / 463 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.4549, allocations: 227.8 kB / 463.3 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001937/0.4569, allocations: 0.6432 MB / 463.9 MB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001205/0.457, allocations: 35.97 kB / 463.9 MB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01026/0.4673, allocations: 8.701 MB / 472.6 MB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.4673, allocations: 4.031 kB / 472.6 MB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007295/0.4746, allocations: 3.532 MB / 476.2 MB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001383/0.4761, allocations: 442.5 kB / 476.6 MB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002485/0.4763, allocations: 24 kB / 476.6 MB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009691/0.4773, allocations: 91.95 kB / 476.7 MB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003462/0.4777, allocations: 112.7 kB / 476.8 MB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.4778, allocations: 35.98 kB / 476.9 MB, free: 8.113 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002445/0.4802, allocations: 1.519 MB / 478.4 MB, free: 6.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4802, allocations: 0 / 478.4 MB, free: 6.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002141/0.4824, allocations: 0.5235 MB / 478.9 MB, free: 6.047 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.001309/0.4837, allocations: 456.9 kB / 479.3 MB, free: 5.598 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004788/0.4885, allocations: 2.389 MB / 481.7 MB, free: 3.184 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.4885, allocations: 4.062 kB / 481.7 MB, free: 3.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002531/0.4911, allocations: 1.597 MB / 483.3 MB, free: 1.527 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/0.4932, allocations: 458.2 kB / 483.8 MB, free: 1.074 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008595/0.5018, allocations: 5.113 MB / 488.9 MB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001867/0.5037, allocations: 1.951 MB / 490.8 MB, free: 9.922 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001198/0.5049, allocations: 379.7 kB / 491.2 MB, free: 9.547 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003931/0.5053, allocations: 135.4 kB / 491.4 MB, free: 9.414 MB / 414.1 MB Notification: Performance of SimCode: time 9.12e-07/0.5053, allocations: 0 / 491.4 MB, free: 9.414 MB / 414.1 MB Notification: Performance of Templates: time 0.0577/0.5631, allocations: 30.58 MB / 0.5097 GB, free: 10.78 MB / 446.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/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) Reference file matches