Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001269/0.001269, allocations: 100.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001349/0.001349, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 227.4 MB / 246.9 MB, free: 10.72 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 59.53 kB / 306.9 MB, free: 1.023 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08776/0.08892, allocations: 50.53 MB / 357.5 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01316/0.1021, allocations: 13.37 MB / 370.8 MB, free: 1.055 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.157/0.2592, allocations: 4.474 MB / 375.3 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002145/0.2613, allocations: 77.66 kB / 375.4 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002954/0.2643, allocations: 0.8663 MB / 376.2 MB, free: 9.773 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003942/0.2683, allocations: 1.16 MB / 377.4 MB, free: 9.461 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002298/0.2706, allocations: 0.8304 MB / 378.2 MB, free: 9.254 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005491/0.2761, allocations: 4.419 MB / 382.6 MB, free: 7.395 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003988/0.2801, allocations: 2.709 MB / 385.4 MB, free: 6.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002659/0.2828, allocations: 1.492 MB / 386.8 MB, free: 5.574 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003207/0.286, allocations: 1.962 MB / 388.8 MB, free: 4.711 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009159/0.287, allocations: 297.2 kB / 389.1 MB, free: 4.711 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002051/0.289, allocations: 0.5255 MB / 389.6 MB, free: 4.629 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001034/0.2901, allocations: 0.9138 MB / 390.5 MB, free: 4.125 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002782/0.2929, allocations: 1.9 MB / 392.4 MB, free: 2.926 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004818/0.2977, allocations: 5.731 MB / 398.2 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.2977, allocations: 0 / 398.2 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2977, allocations: 0 / 398.2 MB, free: 15.19 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001826/0.2979, allocations: 0.7812 kB / 398.2 MB, free: 15.19 MB / 318.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.01186/0.3098, allocations: 4.429 MB / 402.6 MB, free: 12.22 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.3099, allocations: 8.625 kB / 402.6 MB, free: 12.22 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004491/0.3144, allocations: 0.844 MB / 403.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004306/0.3187, allocations: 2.401 MB / 405.8 MB, free: 9.633 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001861/0.3189, allocations: 231 kB / 406.1 MB, free: 9.406 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006251/0.3195, allocations: 315.1 kB / 406.4 MB, free: 9.102 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007574/0.3271, allocations: 4.26 MB / 410.6 MB, free: 4.793 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.299e-05/0.3272, allocations: 0 / 410.6 MB, free: 4.793 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003054/0.3275, allocations: 134.4 kB / 410.8 MB, free: 4.664 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001262/0.3276, allocations: 142.2 kB / 410.9 MB, free: 4.523 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006292/0.3339, allocations: 3.667 MB / 414.6 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02098/0.355, allocations: 13.57 MB / 428.1 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006805/0.3618, allocations: 6.88 MB / 435 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002657/0.3645, allocations: 1.415 MB / 436.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006765/0.3713, allocations: 3.884 MB / 440.3 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.3713, allocations: 43.56 kB / 440.4 MB, free: 5.781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=124): time 3.166e-06/0.3714, allocations: 0 / 440.4 MB, free: 5.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=144): time 0.0139/0.3853, allocations: 6.661 MB / 447 MB, free: 14.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.3853, allocations: 68.72 kB / 447.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003269/0.3886, allocations: 1.884 MB / 449 MB, free: 12.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001061/0.3887, allocations: 53.7 kB / 449 MB, free: 12.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001118/0.3899, allocations: 1.44 MB / 450.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000404/0.3903, allocations: 0.4885 MB / 451 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005025/0.3908, allocations: 307.4 kB / 451.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.3909, allocations: 301.1 kB / 451.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.3922, allocations: 0.7613 MB / 452.3 MB, free: 9.613 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/0.3938, allocations: 1.22 MB / 453.5 MB, free: 8.199 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002977/0.3968, allocations: 2.108 MB / 455.6 MB, free: 5.898 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/0.3968, allocations: 4 kB / 455.7 MB, free: 5.895 MB / 366.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004659/0.4015, allocations: 2.663 MB / 458.3 MB, free: 3.215 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.4015, allocations: 15.94 kB / 458.3 MB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.579e-05/0.4016, allocations: 16 kB / 458.3 MB, free: 3.184 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001409/0.403, allocations: 0.5013 MB / 458.8 MB, free: 2.676 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/0.4045, allocations: 387.4 kB / 459.2 MB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00816/0.4126, allocations: 6.393 MB / 465.6 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.4141, allocations: 71.97 kB / 465.7 MB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/0.4143, allocations: 71.97 kB / 465.8 MB, free: 11.51 MB / 382.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.001753/0.4161, allocations: 1.052 MB / 466.8 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004312/0.4165, allocations: 201.5 kB / 467 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004322/0.4208, allocations: 2.508 MB / 469.5 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.4209, allocations: 12 kB / 469.5 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/0.4209, allocations: 8 kB / 469.5 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.4209, allocations: 11.91 kB / 469.5 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008723/0.4296, allocations: 5.544 MB / 475.1 MB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-05/0.4297, allocations: 0 / 475.1 MB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009997/0.4307, allocations: 215.7 kB / 475.3 MB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001286/0.432, allocations: 0.496 MB / 475.8 MB, free: 1.281 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/0.4321, allocations: 39.92 kB / 475.8 MB, free: 1.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01003/0.4421, allocations: 10.48 MB / 486.3 MB, free: 6.102 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.4422, allocations: 7.969 kB / 486.3 MB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005577/0.4477, allocations: 3.564 MB / 489.9 MB, free: 2.441 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009627/0.4487, allocations: 454.6 kB / 490.3 MB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004008/0.4491, allocations: 35.94 kB / 490.4 MB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.4502, allocations: 63.94 kB / 490.4 MB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002708/0.4505, allocations: 117.1 kB / 490.5 MB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.685e-05/0.4506, allocations: 39.98 kB / 490.6 MB, free: 1.727 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00215/0.4527, allocations: 1.302 MB / 491.9 MB, free: 444 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4528, allocations: 3.938 kB / 491.9 MB, free: 440 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.002182/0.4549, allocations: 0.5939 MB / 492.5 MB, free: 15.83 MB / 414.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.0003579/0.4553, allocations: 174.3 kB / 492.6 MB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004055/0.4594, allocations: 2.391 MB / 495 MB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4594, allocations: 384 / 495 MB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002619/0.462, allocations: 1.739 MB / 496.8 MB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002592/0.4646, allocations: 0.4965 MB / 497.3 MB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/0.476, allocations: 7.331 MB / 0.4928 GB, free: 3.574 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002264/0.4783, allocations: 2.321 MB / 0.495 GB, free: 1.227 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000585/0.4789, allocations: 151.4 kB / 0.4952 GB, free: 1.078 MB / 414.1 MB Notification: Performance of SimCode: time 2.004e-06/0.4789, allocations: 0 / 0.4952 GB, free: 1.078 MB / 414.1 MB Notification: Performance of Templates: time 0.2312/0.7101, allocations: 98.31 MB / 0.5912 GB, free: 97.72 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches