Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009639/0.0009639, allocations: 84.34 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009894/0.0009894, allocations: 166.3 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8994/0.8994, allocations: 177 MB / 205.9 MB, free: 4.441 MB / 186.7 MB " [Timeout remaining time 179] 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_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_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.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 274.1 MB, free: 4.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.298e-05/1.429e-05, allocations: 2.312 kB / 274.1 MB, free: 4.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01093/0.01094, allocations: 13.69 MB / 287.8 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006939/0.01788, allocations: 4.58 MB / 292.4 MB, free: 1.918 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.01893, allocations: 103.4 kB / 292.5 MB, free: 1.816 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001643/0.02057, allocations: 1.017 MB / 293.5 MB, free: 0.793 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002178/0.02275, allocations: 1.37 MB / 294.9 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.0239, allocations: 0.9273 MB / 295.8 MB, free: 14.48 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003197/0.0271, allocations: 4.355 MB / 300.2 MB, free: 10.11 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001659/0.02876, allocations: 1.742 MB / 301.9 MB, free: 8.301 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002962/0.03172, allocations: 2.983 MB / 304.9 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001698/0.03342, allocations: 1.914 MB / 306.8 MB, free: 3.395 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004197/0.03384, allocations: 0.5039 MB / 307.3 MB, free: 2.891 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008373/0.03467, allocations: 0.7143 MB / 308 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006263/0.0353, allocations: 1.145 MB / 309.2 MB, free: 1.027 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001068/0.03637, allocations: 1.454 MB / 310.6 MB, free: 15.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003012/0.03938, allocations: 3.462 MB / 314.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.03939, allocations: 0 / 314.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.03939, allocations: 0 / 314.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.193e-05/0.03942, allocations: 7.938 kB / 314.1 MB, free: 12.09 MB / 298.7 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.005659/0.04508, allocations: 4.542 MB / 318.6 MB, free: 7.477 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.04511, allocations: 8.031 kB / 318.7 MB, free: 7.469 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00283/0.04794, allocations: 1.165 MB / 319.8 MB, free: 6.301 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002229/0.05017, allocations: 2.247 MB / 322.1 MB, free: 4 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.05029, allocations: 238.8 kB / 322.3 MB, free: 3.766 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003052/0.0506, allocations: 332.3 kB / 322.6 MB, free: 3.441 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002554/0.05315, allocations: 2.4 MB / 325 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.178e-05/0.0532, allocations: 0 / 325 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001938/0.05339, allocations: 128 kB / 325.1 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001006/0.05349, allocations: 150.4 kB / 325.3 MB, free: 0.668 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/0.05492, allocations: 0.9493 MB / 326.2 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01052/0.06544, allocations: 11.03 MB / 337.3 MB, free: 4.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002263/0.0677, allocations: 1.848 MB / 339.1 MB, free: 2.594 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000799/0.0685, allocations: 0.686 MB / 339.8 MB, free: 1.902 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00276/0.07126, allocations: 2.273 MB / 342.1 MB, free: 15.6 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.0713, allocations: 50.7 kB / 342.1 MB, free: 15.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=134): time 2.475e-06/0.0713, allocations: 0 / 342.1 MB, free: 15.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=137): time 0.004706/0.076, allocations: 2.961 MB / 345.1 MB, free: 12.53 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.07603, allocations: 64.72 kB / 345.2 MB, free: 12.45 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.07708, allocations: 1.394 MB / 346.5 MB, free: 11.04 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.933e-05/0.07714, allocations: 57.69 kB / 346.6 MB, free: 10.97 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007103/0.07785, allocations: 1.598 MB / 348.2 MB, free: 9.359 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002583/0.07811, allocations: 0.5036 MB / 348.7 MB, free: 8.852 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003303/0.07844, allocations: 349 kB / 349 MB, free: 8.504 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.588e-05/0.07853, allocations: 484.7 kB / 349.5 MB, free: 8.027 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.07879, allocations: 191.8 kB / 349.7 MB, free: 7.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005854/0.07938, allocations: 0.9632 MB / 350.7 MB, free: 6.559 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.08062, allocations: 1.272 MB / 351.9 MB, free: 4.984 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.08062, allocations: 4 kB / 351.9 MB, free: 4.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.001561/0.08218, allocations: 1.467 MB / 353.4 MB, free: 3.484 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.0822, allocations: 20.28 kB / 353.4 MB, free: 3.465 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.08222, allocations: 23.97 kB / 353.5 MB, free: 3.441 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005447/0.08276, allocations: 298.1 kB / 353.7 MB, free: 3.129 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006947/0.08346, allocations: 355.5 kB / 354.1 MB, free: 2.781 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1116/0.1951, allocations: 8.724 MB / 362.8 MB, free: 57.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009436/0.196, allocations: 56.83 kB / 362.9 MB, free: 57.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.1962, allocations: 63.64 kB / 362.9 MB, free: 57.71 MB / 330.7 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.0006154/0.1968, allocations: 266.6 kB / 363.2 MB, free: 57.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002492/0.197, allocations: 236.6 kB / 363.4 MB, free: 57.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/0.1987, allocations: 1.226 MB / 364.7 MB, free: 57.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.1987, allocations: 13.53 kB / 364.7 MB, free: 57.38 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.1987, allocations: 9.375 kB / 364.7 MB, free: 57.38 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.1987, allocations: 8 kB / 364.7 MB, free: 57.38 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003471/0.2022, allocations: 2.884 MB / 367.6 MB, free: 56.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.2022, allocations: 1.375 kB / 367.6 MB, free: 56.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000406/0.2026, allocations: 166 kB / 367.7 MB, free: 56.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000833/0.2034, allocations: 460.4 kB / 368.2 MB, free: 56.82 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.142e-05/0.2035, allocations: 39.84 kB / 368.2 MB, free: 56.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004493/0.208, allocations: 13.52 MB / 381.7 MB, free: 45.53 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.208, allocations: 1.844 kB / 381.7 MB, free: 45.53 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.2096, allocations: 1.653 MB / 383.4 MB, free: 45.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003476/0.21, allocations: 309 kB / 383.7 MB, free: 45 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/0.2101, allocations: 30.38 kB / 383.7 MB, free: 45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003804/0.2105, allocations: 55.88 kB / 383.8 MB, free: 45 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/0.2107, allocations: 115 kB / 383.9 MB, free: 45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.884e-05/0.2107, allocations: 31.56 kB / 383.9 MB, free: 45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005524/0.2113, allocations: 0.7403 MB / 384.7 MB, free: 44.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2113, allocations: 0 / 384.7 MB, free: 44.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001343/0.2126, allocations: 0.5805 MB / 385.2 MB, free: 44.84 MB / 330.7 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.0002158/0.2128, allocations: 168.5 kB / 385.4 MB, free: 44.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001245/0.2141, allocations: 1.67 MB / 387.1 MB, free: 43.99 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2141, allocations: 0 / 387.1 MB, free: 43.99 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000921/0.215, allocations: 1.7 MB / 388.8 MB, free: 42.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.216, allocations: 489.7 kB / 389.3 MB, free: 42.84 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004631/0.2207, allocations: 5.028 MB / 394.3 MB, free: 40.57 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005028/0.2212, allocations: 0.7881 MB / 395.1 MB, free: 40.45 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004828/0.2216, allocations: 235.3 kB / 395.3 MB, free: 40.38 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006055/0.2222, allocations: 0.5032 MB / 395.8 MB, free: 40.31 MB / 330.7 MB Notification: Performance of SimCode: time 7.72e-07/0.2222, allocations: 4 kB / 395.8 MB, free: 40.31 MB / 330.7 MB Notification: Performance of Templates: time 0.03153/0.2538, allocations: 30.1 MB / 425.9 MB, free: 12.88 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5887387529946864]