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_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 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_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|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.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|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.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 117.7 kB / 17.7 MB, free: 5.293 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.001835/0.001835, allocations: 191 kB / 18.63 MB, free: 4.367 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.359/1.359, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009726/0.0009727, allocations: 43.5 kB / 302.1 MB, free: 5.148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08168/0.08267, allocations: 49.45 MB / 351.5 MB, free: 3.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01398/0.09669, allocations: 13.62 MB / 365.1 MB, free: 5.977 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009544/0.1063, allocations: 4.427 MB / 369.6 MB, free: 1.535 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002315/0.1086, allocations: 79.69 kB / 369.7 MB, free: 1.457 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002406/0.1111, allocations: 0.9978 MB / 370.7 MB, free: 464 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1435/0.2546, allocations: 1.311 MB / 372 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002369/0.257, allocations: 0.8804 MB / 372.8 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006061/0.2631, allocations: 4.089 MB / 376.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004921/0.268, allocations: 3.227 MB / 380.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003117/0.2711, allocations: 1.886 MB / 382 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003662/0.2748, allocations: 2.097 MB / 384.1 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001454/0.2763, allocations: 0.5083 MB / 384.6 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002384/0.2787, allocations: 0.7081 MB / 385.4 MB, free: 8.645 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00123/0.2799, allocations: 1.115 MB / 386.5 MB, free: 7.945 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003017/0.283, allocations: 2.134 MB / 388.6 MB, free: 6.543 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004837/0.2878, allocations: 6.709 MB / 395.3 MB, free: 3.082 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2878, allocations: 1.375 kB / 395.3 MB, free: 3.082 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.2879, allocations: 0 / 395.3 MB, free: 3.082 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001011/0.288, allocations: 7.469 kB / 395.3 MB, free: 3.078 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.00965/0.2976, allocations: 4.396 MB / 399.7 MB, free: 144 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.2977, allocations: 12.69 kB / 399.7 MB, free: 140 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00407/0.3018, allocations: 0.8153 MB / 400.5 MB, free: 15.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004328/0.3061, allocations: 2.427 MB / 403 MB, free: 13.8 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/0.3063, allocations: 246.4 kB / 403.2 MB, free: 13.56 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004701/0.3068, allocations: 323.9 kB / 403.5 MB, free: 13.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006681/0.3134, allocations: 4.264 MB / 407.8 MB, free: 8.938 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.737e-05/0.3135, allocations: 16.48 kB / 407.8 MB, free: 8.926 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002863/0.3138, allocations: 132 kB / 407.9 MB, free: 8.797 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001382/0.314, allocations: 150.4 kB / 408.1 MB, free: 8.648 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005746/0.3197, allocations: 3.6 MB / 411.7 MB, free: 5.047 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01963/0.3394, allocations: 13.69 MB / 425.4 MB, free: 7.094 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006252/0.3456, allocations: 6.558 MB / 431.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002215/0.3479, allocations: 1.401 MB / 433.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006129/0.354, allocations: 3.612 MB / 436.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.3541, allocations: 51.88 kB / 437 MB, free: 10.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=134): time 2.615e-06/0.3541, allocations: 3.938 kB / 437 MB, free: 10.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=137): time 0.01078/0.3649, allocations: 5.882 MB / 442.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.3649, allocations: 68.66 kB / 442.9 MB, free: 4.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002467/0.3674, allocations: 1.784 MB / 444.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000113/0.3675, allocations: 49.7 kB / 444.8 MB, free: 2.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009127/0.3685, allocations: 1.436 MB / 446.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003483/0.3688, allocations: 479.8 kB / 446.7 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004799/0.3693, allocations: 319.2 kB / 447 MB, free: 352 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.3694, allocations: 305.1 kB / 447.3 MB, free: 44 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/0.3705, allocations: 0.6715 MB / 448 MB, free: 15.37 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/0.372, allocations: 1.203 MB / 449.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002629/0.3746, allocations: 2.001 MB / 451.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.006e-06/0.3746, allocations: 4 kB / 451.2 MB, free: 11.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.00393/0.3786, allocations: 2.537 MB / 453.7 MB, free: 9.145 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.3786, allocations: 12 kB / 453.7 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/0.3786, allocations: 16 kB / 453.7 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009166/0.3796, allocations: 364.3 kB / 454.1 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/0.3809, allocations: 375.4 kB / 454.5 MB, free: 8.379 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00748/0.3884, allocations: 8.413 MB / 462.9 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/0.3897, allocations: 79.95 kB / 463 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.3898, allocations: 80 kB / 463 MB, free: 15.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (192): * Single equations (assignments): 187 * 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 {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001543/0.3914, allocations: 1.005 MB / 464 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002825/0.3917, allocations: 193.7 kB / 464.2 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003699/0.3954, allocations: 2.288 MB / 466.5 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.729e-06/0.3954, allocations: 16 kB / 466.5 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/0.3954, allocations: 8 kB / 466.5 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.3955, allocations: 7.969 kB / 466.5 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00757/0.403, allocations: 5.077 MB / 471.6 MB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.4031, allocations: 0 / 471.6 MB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008018/0.4039, allocations: 171.8 kB / 471.8 MB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001347/0.4052, allocations: 0.5359 MB / 472.3 MB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.4e-05/0.4053, allocations: 35.98 kB / 472.4 MB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01205/0.4174, allocations: 13.23 MB / 485.6 MB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.4174, allocations: 3.938 kB / 485.6 MB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005023/0.4224, allocations: 3.218 MB / 488.8 MB, free: 4.383 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009818/0.4234, allocations: 427.2 kB / 489.2 MB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002721/0.4237, allocations: 35.94 kB / 489.3 MB, free: 3.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008683/0.4246, allocations: 67.94 kB / 489.3 MB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002608/0.4249, allocations: 108 kB / 489.4 MB, free: 3.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.363e-05/0.425, allocations: 39.98 kB / 489.5 MB, free: 3.703 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00182/0.4268, allocations: 1.219 MB / 490.7 MB, free: 2.492 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4268, allocations: 3.938 kB / 490.7 MB, free: 2.488 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002182/0.429, allocations: 0.5742 MB / 491.3 MB, free: 1.914 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002909/0.4293, allocations: 163.2 kB / 491.4 MB, free: 1.742 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003385/0.4327, allocations: 2.358 MB / 493.8 MB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.4327, allocations: 0 / 493.8 MB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002418/0.4351, allocations: 1.746 MB / 495.5 MB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002091/0.4372, allocations: 0.5487 MB / 496.1 MB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009072/0.4463, allocations: 5.805 MB / 0.4901 GB, free: 7.105 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001902/0.4482, allocations: 2.311 MB / 0.4924 GB, free: 4.766 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001163/0.4494, allocations: 393.1 kB / 0.4928 GB, free: 4.379 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/0.4497, allocations: 127.4 kB / 0.4929 GB, free: 4.254 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4497, allocations: 4 kB / 0.4929 GB, free: 4.25 MB / 414.1 MB Notification: Performance of Templates: time 0.04966/0.4994, allocations: 29.65 MB / 0.5218 GB, free: 7 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches