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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001581/0.001587, allocations: 120.9 kB / 18.41 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 190.9 kB / 21.35 MB, free: 1.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 247.1 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] 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=10000,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=10000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 43.92 kB / 358.7 MB, free: 8.293 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09576/0.09729, allocations: 49.43 MB / 408.1 MB, free: 6.816 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01646/0.1138, allocations: 13.63 MB / 421.8 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009185/0.123, allocations: 4.427 MB / 426.2 MB, free: 4.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002326/0.1254, allocations: 75.75 kB / 426.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00332/0.1287, allocations: 0.9978 MB / 427.3 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00473/0.1335, allocations: 1.316 MB / 428.6 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002661/0.1362, allocations: 0.8804 MB / 429.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2029/0.3391, allocations: 4.072 MB / 433.5 MB, free: 5.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004052/0.3432, allocations: 3.234 MB / 436.8 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003465/0.3467, allocations: 1.894 MB / 438.6 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004282/0.351, allocations: 2.091 MB / 440.7 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001492/0.3525, allocations: 0.5114 MB / 441.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002514/0.355, allocations: 0.706 MB / 442 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001442/0.3565, allocations: 1.118 MB / 443.1 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00447/0.361, allocations: 2.134 MB / 445.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009537/0.3705, allocations: 6.731 MB / 451.9 MB, free: 3.324 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.3706, allocations: 0 / 451.9 MB, free: 3.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.3706, allocations: 1.406 kB / 451.9 MB, free: 3.324 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002271/0.3708, allocations: 0 / 451.9 MB, free: 3.324 MB / 350.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.01404/0.3849, allocations: 4.495 MB / 456.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.3849, allocations: 9.281 kB / 456.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004662/0.3896, allocations: 0.8313 MB / 457.3 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005056/0.3947, allocations: 2.444 MB / 459.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000195/0.3949, allocations: 241.3 kB / 460 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008337/0.3957, allocations: 333.1 kB / 460.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008937/0.4047, allocations: 4.268 MB / 464.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.739e-05/0.4048, allocations: 7.938 kB / 464.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000378/0.4052, allocations: 128.2 kB / 464.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001191/0.4053, allocations: 152.8 kB / 464.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006795/0.4121, allocations: 3.598 MB / 468.4 MB, free: 9.984 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02408/0.4362, allocations: 13.73 MB / 482.2 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007384/0.4436, allocations: 6.564 MB / 488.7 MB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00269/0.4464, allocations: 1.398 MB / 490.1 MB, free: 3.375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006704/0.4531, allocations: 3.628 MB / 493.7 MB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.797e-05/0.4532, allocations: 55.16 kB / 493.8 MB, free: 15.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=134): time 2.675e-06/0.4532, allocations: 0 / 493.8 MB, free: 15.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=137): time 0.01312/0.4663, allocations: 5.92 MB / 499.7 MB, free: 9.555 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.4664, allocations: 68.72 kB / 499.8 MB, free: 9.477 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003024/0.4694, allocations: 1.776 MB / 0.4898 GB, free: 7.699 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002379/0.4697, allocations: 57.69 kB / 0.4899 GB, free: 7.637 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001165/0.4709, allocations: 1.48 MB / 0.4913 GB, free: 6.148 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004888/0.4714, allocations: 0.5 MB / 0.4918 GB, free: 5.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000513/0.4719, allocations: 311.5 kB / 0.4921 GB, free: 5.352 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.472, allocations: 301.1 kB / 0.4924 GB, free: 5.055 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/0.4732, allocations: 0.6832 MB / 0.4931 GB, free: 4.371 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00157/0.4748, allocations: 1.201 MB / 0.4942 GB, free: 2.953 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00296/0.4778, allocations: 1.993 MB / 0.4962 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.4778, allocations: 4 kB / 0.4962 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004615/0.4824, allocations: 2.55 MB / 0.4987 GB, free: 14.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.26e-05/0.4825, allocations: 15.47 kB / 0.4987 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.909e-05/0.4825, allocations: 16 kB / 0.4987 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/0.4836, allocations: 366 kB / 0.499 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.485, allocations: 377.2 kB / 0.4994 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008796/0.4938, allocations: 8.426 MB / 0.5076 GB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001996/0.4959, allocations: 75.95 kB / 0.5077 GB, free: 4.598 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002379/0.4961, allocations: 76.09 kB / 0.5078 GB, free: 4.523 MB / 414.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.002139/0.4983, allocations: 1.001 MB / 0.5088 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006089/0.4989, allocations: 202.7 kB / 0.5089 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005077/0.504, allocations: 2.293 MB / 0.5112 GB, free: 1.004 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.504, allocations: 20 kB / 0.5112 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.588e-05/0.5041, allocations: 8 kB / 0.5112 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/0.5041, allocations: 7.969 kB / 0.5112 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009557/0.5137, allocations: 5.069 MB / 0.5162 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.5137, allocations: 4 kB / 0.5162 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008481/0.5146, allocations: 174.7 kB / 0.5163 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001599/0.5162, allocations: 0.5351 MB / 0.5169 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001271/0.5163, allocations: 35.98 kB / 0.5169 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01421/0.5305, allocations: 13.23 MB / 0.5298 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.5306, allocations: 4.031 kB / 0.5298 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005843/0.5364, allocations: 3.225 MB / 0.533 GB, free: 9.824 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/0.5377, allocations: 435.7 kB / 0.5334 GB, free: 9.379 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004146/0.5381, allocations: 35.94 kB / 0.5334 GB, free: 9.344 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009919/0.5391, allocations: 67.94 kB / 0.5335 GB, free: 9.277 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003192/0.5395, allocations: 100.5 kB / 0.5336 GB, free: 9.184 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.114e-05/0.5396, allocations: 47.92 kB / 0.5336 GB, free: 9.137 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00207/0.5416, allocations: 1.215 MB / 0.5348 GB, free: 7.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5417, allocations: 4 kB / 0.5348 GB, free: 7.926 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002714/0.5444, allocations: 0.582 MB / 0.5354 GB, free: 7.344 MB / 446.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.0004415/0.5448, allocations: 166.8 kB / 0.5355 GB, free: 7.184 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004009/0.5489, allocations: 2.371 MB / 0.5379 GB, free: 4.793 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.5489, allocations: 0 / 0.5379 GB, free: 4.793 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00279/0.5517, allocations: 1.743 MB / 0.5396 GB, free: 2.992 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002984/0.5547, allocations: 0.5492 MB / 0.5401 GB, free: 2.449 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/0.566, allocations: 5.882 MB / 0.5458 GB, free: 12.54 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002266/0.5684, allocations: 2.257 MB / 0.548 GB, free: 10.25 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006535/0.569, allocations: 135.4 kB / 0.5482 GB, free: 10.12 MB / 462.1 MB Notification: Performance of SimCode: time 7.41e-07/0.569, allocations: 0 / 0.5482 GB, free: 10.12 MB / 462.1 MB Notification: Performance of Templates: time 0.3344/0.9034, allocations: 128.7 MB / 0.6739 GB, free: 113.5 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (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 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.013859829050489]