Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001388, allocations: 110.5 kB / 17.73 MB, free: 5.316 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.001399/0.001399, allocations: 187 kB / 18.67 MB, free: 4.387 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.771/1.771, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001184/0.001184, allocations: 43.94 kB / 328.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1286, allocations: 46.62 MB / 375.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.3148/0.4435, allocations: 9.645 MB / 384.8 MB, free: 8.117 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01173/0.4553, allocations: 3.076 MB / 387.9 MB, free: 6.391 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004278/0.4596, allocations: 38.06 kB / 387.9 MB, free: 6.383 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004264/0.464, allocations: 0.6362 MB / 388.5 MB, free: 6.043 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007082/0.4712, allocations: 0.7494 MB / 389.3 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002972/0.4742, allocations: 373.5 kB / 389.7 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007429/0.4816, allocations: 2.459 MB / 392.1 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004669/0.4863, allocations: 1.72 MB / 393.8 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003213/0.4896, allocations: 1.066 MB / 394.9 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004047/0.4936, allocations: 1.317 MB / 396.2 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001488/0.4951, allocations: 279.9 kB / 396.5 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002306/0.4975, allocations: 367.7 kB / 396.9 MB, free: 2.203 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001774/0.4992, allocations: 0.7739 MB / 397.6 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00417/0.5034, allocations: 1.271 MB / 398.9 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008545/0.512, allocations: 3.655 MB / 402.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.151e-05/0.512, allocations: 0 / 402.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.619e-06/0.5121, allocations: 0 / 402.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002682/0.5123, allocations: 0 / 402.6 MB, free: 15.22 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.01363/0.526, allocations: 2.64 MB / 405.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.933e-05/0.5261, allocations: 9.688 kB / 405.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001929/0.528, allocations: 274.9 kB / 405.5 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004084/0.5321, allocations: 1.277 MB / 406.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002244/0.5324, allocations: 145.4 kB / 406.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005598/0.533, allocations: 189.5 kB / 407.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005992/0.539, allocations: 2.424 MB / 409.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.36e-05/0.5391, allocations: 10.25 kB / 409.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002189/0.5393, allocations: 76.72 kB / 409.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00019/0.5395, allocations: 91.7 kB / 409.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004416/0.5439, allocations: 1.962 MB / 411.6 MB, free: 9.629 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01549/0.5595, allocations: 7.783 MB / 419.4 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/0.5613, allocations: 1.234 MB / 420.7 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001792/0.5631, allocations: 0.9762 MB / 421.6 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002975/0.5634, allocations: 118.1 kB / 421.7 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/0.5635, allocations: 39.56 kB / 421.8 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of pre-optimization done (n=95): time 3.377e-06/0.5635, allocations: 4 kB / 421.8 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of matching and sorting (n=111): time 0.01336/0.5769, allocations: 5.887 MB / 427.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/0.577, allocations: 64.41 kB / 427.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002227/0.5792, allocations: 1.31 MB / 429 MB, free: 9.117 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001206/0.5794, allocations: 49.7 kB / 429.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007312/0.5801, allocations: 0.938 MB / 430 MB, free: 8.113 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003704/0.5805, allocations: 408.5 kB / 430.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000411/0.5809, allocations: 251.5 kB / 430.7 MB, free: 7.461 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.5811, allocations: 361.9 kB / 431 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009578/0.5821, allocations: 0.6364 MB / 431.7 MB, free: 6.465 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001261/0.5833, allocations: 1.004 MB / 432.7 MB, free: 5.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002323/0.5857, allocations: 1.728 MB / 434.4 MB, free: 3.426 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.5857, allocations: 4 kB / 434.4 MB, free: 3.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003999/0.5897, allocations: 2.261 MB / 436.7 MB, free: 1.137 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.5897, allocations: 8 kB / 436.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.267e-05/0.5898, allocations: 12 kB / 436.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/0.591, allocations: 492.2 kB / 437.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.5921, allocations: 311.5 kB / 437.5 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00795/0.6001, allocations: 7.121 MB / 444.6 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/0.6017, allocations: 87.86 kB / 444.7 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.6019, allocations: 52 kB / 444.7 MB, free: 8.641 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001737/0.6036, allocations: 0.6074 MB / 445.3 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004289/0.604, allocations: 155 kB / 445.5 MB, free: 7.871 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003709/0.6078, allocations: 1.968 MB / 447.5 MB, free: 5.871 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.6078, allocations: 15.98 kB / 447.5 MB, free: 5.855 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.6078, allocations: 4 kB / 447.5 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.6078, allocations: 3.984 kB / 447.5 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007499/0.6153, allocations: 4.14 MB / 451.6 MB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.6154, allocations: 4 kB / 451.6 MB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008054/0.6162, allocations: 188.1 kB / 451.8 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001458/0.6176, allocations: 0.5352 MB / 452.3 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.221e-05/0.6177, allocations: 31.98 kB / 452.4 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008714/0.6265, allocations: 8.762 MB / 461.1 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.6265, allocations: 4 kB / 461.1 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004942/0.6314, allocations: 2.86 MB / 464 MB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/0.6326, allocations: 360 kB / 464.4 MB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002081/0.6328, allocations: 28 kB / 464.4 MB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007906/0.6336, allocations: 71.92 kB / 464.4 MB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002497/0.6338, allocations: 88.84 kB / 464.5 MB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-05/0.6339, allocations: 35.98 kB / 464.6 MB, free: 4.012 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001414/0.6353, allocations: 0.8839 MB / 465.5 MB, free: 3.125 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6353, allocations: 0 / 465.5 MB, free: 3.125 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001909/0.6373, allocations: 444 kB / 465.9 MB, free: 2.691 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,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.0004411/0.6377, allocations: 190.2 kB / 466.1 MB, free: 2.496 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003706/0.6414, allocations: 2.24 MB / 468.3 MB, free: 176 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.6415, allocations: 0 / 468.3 MB, free: 176 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002446/0.6439, allocations: 1.502 MB / 469.8 MB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002069/0.646, allocations: 416.9 kB / 470.2 MB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007349/0.6534, allocations: 4.164 MB / 474.4 MB, free: 9.965 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00142/0.6548, allocations: 1.642 MB / 476 MB, free: 8.293 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001104/0.6559, allocations: 324.8 kB / 476.3 MB, free: 7.969 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000282/0.6562, allocations: 99.42 kB / 476.4 MB, free: 7.871 MB / 398.1 MB Notification: Performance of SimCode: time 1.122e-06/0.6562, allocations: 0 / 476.4 MB, free: 7.871 MB / 398.1 MB Notification: Performance of Templates: time 0.04726/0.7035, allocations: 24.1 MB / 0.4888 GB, free: 15.73 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_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_Steinmetz/AIMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches