Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001395, allocations: 101.5 kB / 18.39 MB, free: 4.66 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.001519/0.001519, allocations: 183 kB / 19.33 MB, free: 3.738 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.495/1.495, allocations: 205.1 MB / 225.2 MB, free: 12.19 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.00116/0.001161, allocations: 55.91 kB / 329.2 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1034, allocations: 46.62 MB / 375.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.2403/0.3437, allocations: 8.864 MB / 384.7 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006072/0.3499, allocations: 2.916 MB / 387.6 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001458/0.3514, allocations: 35.91 kB / 387.6 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001801/0.3532, allocations: 0.61 MB / 388.2 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002512/0.3558, allocations: 0.7218 MB / 389 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008515/0.3566, allocations: 328.8 kB / 389.3 MB, free: 6.051 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003068/0.3597, allocations: 2.398 MB / 391.7 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002133/0.3618, allocations: 1.707 MB / 393.4 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00182/0.3637, allocations: 1.062 MB / 394.5 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001882/0.3656, allocations: 1.338 MB / 395.8 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004121/0.366, allocations: 279.7 kB / 396.1 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008739/0.3669, allocations: 370.5 kB / 396.4 MB, free: 2.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008623/0.3678, allocations: 0.8015 MB / 397.2 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001416/0.3692, allocations: 1.265 MB / 398.5 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004308/0.3735, allocations: 3.681 MB / 402.2 MB, free: 108 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.3735, allocations: 1.219 kB / 402.2 MB, free: 108 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.3735, allocations: 0 / 402.2 MB, free: 108 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.859e-05/0.3736, allocations: 0 / 402.2 MB, free: 108 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.005784/0.3794, allocations: 2.577 MB / 404.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.3794, allocations: 9.312 kB / 404.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007825/0.3802, allocations: 263.6 kB / 405 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002327/0.3826, allocations: 1.311 MB / 406.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.3827, allocations: 132.5 kB / 406.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003259/0.383, allocations: 183.9 kB / 406.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004211/0.3873, allocations: 2.413 MB / 409.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.983e-05/0.3873, allocations: 7.375 kB / 409.1 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001816/0.3875, allocations: 74.83 kB / 409.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001106/0.3876, allocations: 89.14 kB / 409.2 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003476/0.3911, allocations: 2.016 MB / 411.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01148/0.4026, allocations: 7.372 MB / 418.6 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/0.4044, allocations: 1.276 MB / 419.9 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00158/0.406, allocations: 0.912 MB / 420.8 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002339/0.4062, allocations: 126.1 kB / 420.9 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.4063, allocations: 39.56 kB / 421 MB, free: 2.027 MB / 334.1 MB Notification: Performance of pre-optimization done (n=84): time 2.735e-06/0.4063, allocations: 0 / 421 MB, free: 2.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=100): time 0.009289/0.4156, allocations: 4.999 MB / 426 MB, free: 12.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.4157, allocations: 60.41 kB / 426 MB, free: 12.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002097/0.4178, allocations: 1.384 MB / 427.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.959e-05/0.4179, allocations: 41.7 kB / 427.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006606/0.4186, allocations: 0.8931 MB / 428.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003037/0.4189, allocations: 358.8 kB / 428.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003662/0.4192, allocations: 218.8 kB / 428.9 MB, free: 9.926 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.4194, allocations: 353.9 kB / 429.2 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009313/0.4203, allocations: 0.6311 MB / 429.9 MB, free: 8.941 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/0.4215, allocations: 0.9181 MB / 430.8 MB, free: 7.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00213/0.4236, allocations: 1.645 MB / 432.4 MB, free: 6.137 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.4236, allocations: 4 kB / 432.4 MB, free: 6.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.00423/0.4279, allocations: 2.394 MB / 434.8 MB, free: 3.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.4279, allocations: 12 kB / 434.9 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/0.4279, allocations: 8 kB / 434.9 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001808/0.4297, allocations: 0.7121 MB / 435.6 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008612/0.4306, allocations: 231.7 kB / 435.8 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01044/0.4411, allocations: 8.752 MB / 444.5 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/0.4426, allocations: 83.84 kB / 444.6 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.4427, allocations: 44.12 kB / 444.7 MB, free: 9.598 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * Array equations: 0 * 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,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001299/0.444, allocations: 0.6264 MB / 445.3 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003917/0.4444, allocations: 146.2 kB / 445.4 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003268/0.4477, allocations: 1.901 MB / 447.3 MB, free: 6.895 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.4477, allocations: 12 kB / 447.4 MB, free: 6.883 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.389e-05/0.4477, allocations: 4 kB / 447.4 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.4477, allocations: 3.984 kB / 447.4 MB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007589/0.4553, allocations: 4.004 MB / 451.4 MB, free: 2.785 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/0.4554, allocations: 0 / 451.4 MB, free: 2.785 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008012/0.4562, allocations: 188 kB / 451.6 MB, free: 2.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001227/0.4574, allocations: 466.8 kB / 452 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-05/0.4575, allocations: 23.98 kB / 452 MB, free: 2.109 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006654/0.4642, allocations: 6.684 MB / 458.7 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.4642, allocations: 4.031 kB / 458.7 MB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004546/0.4688, allocations: 2.775 MB / 461.5 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009896/0.4698, allocations: 359.2 kB / 461.8 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004716/0.4703, allocations: 28 kB / 461.9 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.4713, allocations: 67.92 kB / 461.9 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000231/0.4715, allocations: 84.81 kB / 462 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.581e-05/0.4716, allocations: 27.98 kB / 462 MB, free: 7.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001863/0.4735, allocations: 0.9543 MB / 463 MB, free: 6.633 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4735, allocations: 0 / 463 MB, free: 6.633 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001953/0.4755, allocations: 443.9 kB / 463.4 MB, free: 6.199 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (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) * 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 (84): * Single equations (assignments): 80 * Array equations: 0 * 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,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004645/0.4759, allocations: 175.3 kB / 463.6 MB, free: 6.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003701/0.4797, allocations: 2.019 MB / 465.6 MB, free: 3.973 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.4797, allocations: 0 / 465.6 MB, free: 3.973 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002061/0.4818, allocations: 1.337 MB / 467 MB, free: 2.578 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00231/0.4841, allocations: 396.5 kB / 467.4 MB, free: 2.191 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008008/0.4921, allocations: 4.046 MB / 471.4 MB, free: 14.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001976/0.4941, allocations: 1.669 MB / 473.1 MB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000506/0.4946, allocations: 103.4 kB / 473.2 MB, free: 12.29 MB / 398.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4946, allocations: 0 / 473.2 MB, free: 12.29 MB / 398.1 MB Notification: Performance of Templates: time 0.06714/0.5618, allocations: 53.02 MB / 0.5139 GB, free: 7.129 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_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_Initialize/AIMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches