Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 110.3 kB / 17.06 MB, free: 6.137 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.001779/0.001779, allocations: 191 kB / 18 MB, free: 5.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 47.94 kB / 351.3 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2677, allocations: 49.43 MB / 400.7 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01354/0.2813, allocations: 12.88 MB / 413.6 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00777/0.2891, allocations: 4.259 MB / 417.9 MB, free: 7.668 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002103/0.2913, allocations: 71.75 kB / 417.9 MB, free: 7.598 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00334/0.2946, allocations: 1.021 MB / 419 MB, free: 6.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004703/0.2994, allocations: 1.343 MB / 420.3 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002476/0.3019, allocations: 0.8315 MB / 421.1 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005188/0.3071, allocations: 4.019 MB / 425.2 MB, free: 368 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003625/0.3108, allocations: 3.224 MB / 428.4 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003263/0.314, allocations: 1.897 MB / 430.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004065/0.3181, allocations: 2.117 MB / 432.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001456/0.3196, allocations: 0.5117 MB / 432.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002811/0.3224, allocations: 0.7068 MB / 433.6 MB, free: 7.812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001823/0.3243, allocations: 1.145 MB / 434.8 MB, free: 6.664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004174/0.3285, allocations: 2.124 MB / 436.9 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008729/0.3372, allocations: 6.751 MB / 443.6 MB, free: 13.76 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.3373, allocations: 0 / 443.6 MB, free: 13.76 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3373, allocations: 0 / 443.6 MB, free: 13.76 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002341/0.3375, allocations: 0 / 443.6 MB, free: 13.76 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01366/0.3512, allocations: 4.402 MB / 448 MB, free: 9.285 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.3513, allocations: 12.02 kB / 448 MB, free: 9.273 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00479/0.3561, allocations: 0.8124 MB / 448.9 MB, free: 8.457 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005219/0.3613, allocations: 2.459 MB / 451.3 MB, free: 5.941 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002676/0.3616, allocations: 234.6 kB / 451.5 MB, free: 5.711 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001024/0.3627, allocations: 316 kB / 451.9 MB, free: 5.402 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01013/0.3728, allocations: 4.262 MB / 456.1 MB, free: 1.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001212/0.373, allocations: 11.91 kB / 456.1 MB, free: 1.078 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007612/0.3737, allocations: 128 kB / 456.3 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001648/0.3739, allocations: 146.2 kB / 456.4 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008008/0.3819, allocations: 3.655 MB / 460.1 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02678/0.4088, allocations: 13.32 MB / 473.4 MB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006614/0.4154, allocations: 6.889 MB / 480.3 MB, free: 7.684 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002419/0.4179, allocations: 1.41 MB / 481.7 MB, free: 6.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006149/0.424, allocations: 3.628 MB / 485.3 MB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.979e-05/0.4241, allocations: 51.56 kB / 485.3 MB, free: 2.492 MB / 398.1 MB Notification: Performance of pre-optimization done (n=124): time 3.496e-06/0.4241, allocations: 0 / 485.3 MB, free: 2.492 MB / 398.1 MB Notification: Performance of matching and sorting (n=144): time 0.01462/0.4388, allocations: 6.641 MB / 492 MB, free: 11.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.4389, allocations: 68.72 kB / 492.1 MB, free: 11.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003689/0.4426, allocations: 1.855 MB / 493.9 MB, free: 9.711 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001836/0.4428, allocations: 49.7 kB / 494 MB, free: 9.656 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009709/0.4437, allocations: 1.427 MB / 495.4 MB, free: 8.211 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004818/0.4442, allocations: 0.489 MB / 495.9 MB, free: 7.715 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005664/0.4448, allocations: 303.3 kB / 496.2 MB, free: 7.414 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.4449, allocations: 301.1 kB / 496.5 MB, free: 7.117 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/0.4462, allocations: 0.7652 MB / 497.2 MB, free: 6.352 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001636/0.4479, allocations: 1.224 MB / 498.5 MB, free: 4.938 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003216/0.4511, allocations: 2.108 MB / 0.4888 GB, free: 2.641 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-05/0.4512, allocations: 4 kB / 0.4888 GB, free: 2.637 MB / 414.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004944/0.4561, allocations: 2.667 MB / 0.4914 GB, free: 15.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/0.4562, allocations: 15.94 kB / 0.4915 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.312e-05/0.4562, allocations: 12 kB / 0.4915 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00154/0.4578, allocations: 0.5023 MB / 0.492 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/0.4593, allocations: 383.4 kB / 0.4923 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009236/0.4685, allocations: 6.923 MB / 0.4991 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/0.4703, allocations: 83.92 kB / 0.4992 GB, free: 7.754 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003112/0.4707, allocations: 71.94 kB / 0.4992 GB, free: 7.684 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (180): * Single equations (assignments): 178 * 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%), (8,30,56.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00224/0.4729, allocations: 1.044 MB / 0.5003 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006356/0.4736, allocations: 193.7 kB / 0.5004 GB, free: 6.438 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004891/0.4785, allocations: 2.492 MB / 0.5029 GB, free: 3.883 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/0.4785, allocations: 15.98 kB / 0.5029 GB, free: 3.867 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.788e-05/0.4786, allocations: 11.94 kB / 0.5029 GB, free: 3.855 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/0.4786, allocations: 7.969 kB / 0.5029 GB, free: 3.848 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009068/0.4877, allocations: 5.525 MB / 0.5083 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.4877, allocations: 4 kB / 0.5083 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.4887, allocations: 223.9 kB / 0.5085 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001302/0.49, allocations: 0.4919 MB / 0.509 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/0.4902, allocations: 35.98 kB / 0.509 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01121/0.5014, allocations: 11.43 MB / 0.5202 GB, free: 1.297 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.5014, allocations: 8.094 kB / 0.5202 GB, free: 1.289 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006533/0.508, allocations: 3.562 MB / 0.5237 GB, free: 13.63 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001389/0.5094, allocations: 462.5 kB / 0.5241 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007081/0.5101, allocations: 32 kB / 0.5241 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/0.5115, allocations: 63.95 kB / 0.5242 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003637/0.5119, allocations: 113.1 kB / 0.5243 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001473/0.512, allocations: 43.98 kB / 0.5244 GB, free: 12.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002847/0.5149, allocations: 1.286 MB / 0.5256 GB, free: 11.64 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5149, allocations: 4 kB / 0.5256 GB, free: 11.63 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003047/0.518, allocations: 0.5859 MB / 0.5262 GB, free: 11.05 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,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 (102): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000436/0.5184, allocations: 169.6 kB / 0.5264 GB, free: 10.88 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004516/0.5229, allocations: 2.398 MB / 0.5287 GB, free: 8.453 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.523, allocations: 0 / 0.5287 GB, free: 8.453 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002748/0.5257, allocations: 1.732 MB / 0.5304 GB, free: 6.66 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003108/0.5288, allocations: 0.5224 MB / 0.5309 GB, free: 6.148 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/0.5401, allocations: 5.918 MB / 0.5367 GB, free: 188 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1899/0.73, allocations: 2.361 MB / 0.539 GB, free: 128.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001484/0.7315, allocations: 420.2 kB / 0.5394 GB, free: 128.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003673/0.7319, allocations: 128.5 kB / 0.5395 GB, free: 128.3 MB / 462.1 MB Notification: Performance of SimCode: time 9.52e-07/0.7319, allocations: 0 / 0.5395 GB, free: 128.3 MB / 462.1 MB Notification: Performance of Templates: time 0.04287/0.7748, allocations: 31.54 MB / 0.5703 GB, free: 106.1 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches