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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001859/0.001859, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.284/1.284, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00132/0.00132, allocations: 105.7 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008199/0.0008199, allocations: 47.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1965, allocations: 50.45 MB / 407.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01039/0.2069, allocations: 13.33 MB / 420.4 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006997/0.214, allocations: 4.466 MB / 424.9 MB, free: 9.949 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002261/0.2163, allocations: 75.69 kB / 424.9 MB, free: 9.875 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00291/0.2193, allocations: 0.8707 MB / 425.8 MB, free: 9 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003526/0.2228, allocations: 1.147 MB / 427 MB, free: 7.848 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.2245, allocations: 0.8268 MB / 427.8 MB, free: 7.027 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004407/0.229, allocations: 4.467 MB / 432.3 MB, free: 2.543 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002575/0.2316, allocations: 2.699 MB / 435 MB, free: 15.78 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001956/0.2335, allocations: 1.502 MB / 436.5 MB, free: 14.27 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002568/0.2361, allocations: 1.953 MB / 438.4 MB, free: 12.31 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005742/0.2367, allocations: 296 kB / 438.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.238, allocations: 0.5192 MB / 439.2 MB, free: 11.5 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007937/0.2388, allocations: 0.907 MB / 440.1 MB, free: 10.59 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00218/0.241, allocations: 1.889 MB / 442 MB, free: 8.691 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006469/0.2475, allocations: 6.57 MB / 448.6 MB, free: 2.102 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2476, allocations: 0 / 448.6 MB, free: 2.102 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2476, allocations: 0 / 448.6 MB, free: 2.102 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001617/0.2477, allocations: 0 / 448.6 MB, free: 2.102 MB / 314.7 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.01158/0.2593, allocations: 4.417 MB / 453 MB, free: 13.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/0.2594, allocations: 12.03 kB / 453 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004354/0.2638, allocations: 0.8398 MB / 453.8 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004631/0.2684, allocations: 2.381 MB / 456.2 MB, free: 10.31 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002208/0.2687, allocations: 238.6 kB / 456.5 MB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008101/0.2695, allocations: 315.8 kB / 456.8 MB, free: 9.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007136/0.2766, allocations: 4.258 MB / 461 MB, free: 5.461 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.028e-05/0.2767, allocations: 4 kB / 461 MB, free: 5.457 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002739/0.277, allocations: 132 kB / 461.2 MB, free: 5.328 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000127/0.2771, allocations: 150.2 kB / 461.3 MB, free: 5.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006057/0.2832, allocations: 3.659 MB / 465 MB, free: 1.512 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02093/0.3042, allocations: 13.57 MB / 478.5 MB, free: 3.574 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006669/0.3109, allocations: 6.87 MB / 485.4 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002298/0.3132, allocations: 1.411 MB / 486.8 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006187/0.3194, allocations: 3.892 MB / 490.7 MB, free: 6.352 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.3194, allocations: 47.56 kB / 490.8 MB, free: 6.297 MB / 362.7 MB Notification: Performance of pre-optimization done (n=124): time 2.746e-06/0.3195, allocations: 4 kB / 490.8 MB, free: 6.293 MB / 362.7 MB Notification: Performance of matching and sorting (n=144): time 0.01304/0.3325, allocations: 6.653 MB / 497.4 MB, free: 15.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.3326, allocations: 68.72 kB / 497.5 MB, free: 15.37 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002534/0.3351, allocations: 1.872 MB / 499.4 MB, free: 13.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.3352, allocations: 53.7 kB / 499.4 MB, free: 13.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000949/0.3362, allocations: 1.435 MB / 0.4891 GB, free: 11.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003522/0.3365, allocations: 0.489 MB / 0.4896 GB, free: 11.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004698/0.337, allocations: 307.3 kB / 0.4899 GB, free: 11.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.193e-05/0.3371, allocations: 301.1 kB / 0.4902 GB, free: 10.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001215/0.3383, allocations: 0.7574 MB / 0.4909 GB, free: 10.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/0.3398, allocations: 1.224 MB / 0.4921 GB, free: 8.715 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00271/0.3425, allocations: 2.111 MB / 0.4942 GB, free: 6.414 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/0.3425, allocations: 4 kB / 0.4942 GB, free: 6.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004394/0.3469, allocations: 2.659 MB / 0.4968 GB, free: 3.734 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.347, allocations: 14.66 kB / 0.4968 GB, free: 3.723 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.16e-05/0.347, allocations: 16 kB / 0.4968 GB, free: 3.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001367/0.3484, allocations: 0.5054 MB / 0.4973 GB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/0.3498, allocations: 383.5 kB / 0.4976 GB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.171/0.5209, allocations: 6.393 MB / 0.5039 GB, free: 85.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/0.5223, allocations: 85.22 kB / 0.504 GB, free: 85.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.5224, allocations: 67.03 kB / 0.504 GB, free: 85.87 MB / 378.7 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.001516/0.524, allocations: 1.047 MB / 0.5051 GB, free: 85.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003211/0.5243, allocations: 194.4 kB / 0.5052 GB, free: 85.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00375/0.5281, allocations: 2.511 MB / 0.5077 GB, free: 84.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.5281, allocations: 19.62 kB / 0.5077 GB, free: 84.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.5281, allocations: 7.875 kB / 0.5077 GB, free: 84.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.5281, allocations: 10.64 kB / 0.5077 GB, free: 84.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007608/0.5357, allocations: 5.532 MB / 0.5131 GB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.5358, allocations: 1.844 kB / 0.5131 GB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009069/0.5367, allocations: 217.2 kB / 0.5133 GB, free: 81.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001158/0.5378, allocations: 499.1 kB / 0.5138 GB, free: 81.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.452e-05/0.5379, allocations: 38.12 kB / 0.5139 GB, free: 81.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007672/0.5456, allocations: 10.47 MB / 0.5241 GB, free: 72.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5457, allocations: 7.781 kB / 0.5241 GB, free: 72.63 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03001/0.5757, allocations: 27.25 MB / 0.5507 GB, free: 46.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006947/0.5764, allocations: 458.6 kB / 0.5511 GB, free: 46.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002017/0.5766, allocations: 28 kB / 0.5512 GB, free: 46.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008936/0.5775, allocations: 72 kB / 0.5512 GB, free: 46.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002499/0.5778, allocations: 109 kB / 0.5513 GB, free: 46.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.833e-05/0.5779, allocations: 43.98 kB / 0.5514 GB, free: 46.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001457/0.5793, allocations: 1.294 MB / 0.5526 GB, free: 44.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5793, allocations: 0 / 0.5526 GB, free: 44.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00227/0.5816, allocations: 0.8112 MB / 0.5534 GB, free: 44.07 MB / 378.7 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.0002717/0.5819, allocations: 195.3 kB / 0.5536 GB, free: 43.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003331/0.5852, allocations: 2.393 MB / 0.556 GB, free: 41.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.5852, allocations: 0 / 0.556 GB, free: 41.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002039/0.5873, allocations: 1.733 MB / 0.5576 GB, free: 39.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002146/0.5894, allocations: 0.5046 MB / 0.5581 GB, free: 39.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009788/0.5992, allocations: 9.103 MB / 0.567 GB, free: 29.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001558/0.6008, allocations: 2.418 MB / 0.5694 GB, free: 27.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001417/0.6023, allocations: 429 kB / 0.5698 GB, free: 27.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003464/0.6026, allocations: 132 kB / 0.5699 GB, free: 27 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.6026, allocations: 0 / 0.5699 GB, free: 27 MB / 378.7 MB Notification: Performance of Templates: time 0.04825/0.6509, allocations: 36.08 MB / 0.6052 GB, free: 7.203 MB / 394.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches