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.001882/0.001882, allocations: 83.16 kB / 20.68 MB, free: 1.039 MB / 14.72 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.002429/0.002429, allocations: 157.6 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.526/1.526, allocations: 177 MB / 204.1 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.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_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.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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.825e-05/3.001e-05, allocations: 2.281 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.02683/0.02686, allocations: 12.5 MB / 337.5 MB, free: 7.754 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01559/0.04245, allocations: 4.46 MB / 342 MB, free: 4.059 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004723/0.04717, allocations: 107.3 kB / 342.1 MB, free: 3.953 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005553/0.05272, allocations: 1.009 MB / 343.1 MB, free: 2.934 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007428/0.06015, allocations: 1.366 MB / 344.5 MB, free: 1.559 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00407/0.06422, allocations: 0.9232 MB / 345.4 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009896/0.07412, allocations: 4.345 MB / 349.7 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005666/0.07978, allocations: 1.734 MB / 351.5 MB, free: 10.47 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007824/0.08761, allocations: 2.87 MB / 354.3 MB, free: 7.598 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005285/0.09289, allocations: 1.757 MB / 356.1 MB, free: 5.836 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001536/0.09443, allocations: 0.5117 MB / 356.6 MB, free: 5.324 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002867/0.0973, allocations: 0.7183 MB / 357.3 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002096/0.09939, allocations: 1.141 MB / 358.5 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003935/0.1033, allocations: 1.446 MB / 359.9 MB, free: 2.012 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01413/0.1175, allocations: 6.821 MB / 366.7 MB, free: 11.17 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.047e-05/0.1175, allocations: 4 kB / 366.7 MB, free: 11.17 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1175, allocations: 0 / 366.7 MB, free: 11.17 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001784/0.1176, allocations: 0 / 366.7 MB, free: 11.17 MB / 334.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.01968/0.1373, allocations: 4.408 MB / 371.2 MB, free: 6.703 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.1374, allocations: 11.98 kB / 371.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008825/0.1462, allocations: 0.8339 MB / 372 MB, free: 5.855 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008673/0.1549, allocations: 2.384 MB / 374.4 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003845/0.1553, allocations: 242.8 kB / 374.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001295/0.1566, allocations: 320.3 kB / 374.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01401/0.1706, allocations: 4.429 MB / 379.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001234/0.1707, allocations: 3.953 kB / 379.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005509/0.1712, allocations: 132 kB / 379.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002632/0.1715, allocations: 150.4 kB / 379.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01209/0.1836, allocations: 3.601 MB / 383.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02382/0.2074, allocations: 11.84 MB / 395.1 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005522/0.2129, allocations: 2.593 MB / 397.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002598/0.2155, allocations: 1.285 MB / 399 MB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006621/0.2222, allocations: 3.05 MB / 402 MB, free: 7.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.695e-05/0.2222, allocations: 47.88 kB / 402.1 MB, free: 7.375 MB / 366.1 MB Notification: Performance of pre-optimization done (n=134): time 5.711e-06/0.2222, allocations: 3.984 kB / 402.1 MB, free: 7.371 MB / 366.1 MB Notification: Performance of matching and sorting (n=137): time 0.01288/0.2351, allocations: 5.222 MB / 407.3 MB, free: 2.102 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.2351, allocations: 64.72 kB / 407.3 MB, free: 2.027 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002921/0.2381, allocations: 1.612 MB / 409 MB, free: 416 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001202/0.2382, allocations: 49.7 kB / 409 MB, free: 360 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001286/0.2395, allocations: 1.496 MB / 410.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000468/0.2399, allocations: 0.4958 MB / 411 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000547/0.2405, allocations: 311.5 kB / 411.3 MB, free: 14.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.2406, allocations: 313 kB / 411.6 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/0.2419, allocations: 0.6754 MB / 412.3 MB, free: 13.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/0.2436, allocations: 1.223 MB / 413.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003171/0.2467, allocations: 2.01 MB / 415.5 MB, free: 9.363 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.399e-05/0.2468, allocations: 4 kB / 415.5 MB, free: 9.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004731/0.2515, allocations: 2.461 MB / 418 MB, free: 6.875 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.472e-05/0.2515, allocations: 15.98 kB / 418 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.763e-05/0.2516, allocations: 16 kB / 418 MB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.2527, allocations: 352.1 kB / 418.4 MB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/0.2542, allocations: 375.4 kB / 418.7 MB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00909/0.2632, allocations: 7.809 MB / 426.5 MB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.2647, allocations: 79.91 kB / 426.6 MB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002095/0.2649, allocations: 79.98 kB / 426.7 MB, free: 13.75 MB / 398.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.002033/0.267, allocations: 1.019 MB / 427.7 MB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004822/0.2674, allocations: 186.8 kB / 427.9 MB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004504/0.2719, allocations: 2.11 MB / 430 MB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.272, allocations: 12 kB / 430 MB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.422e-05/0.272, allocations: 8 kB / 430 MB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.597e-05/0.272, allocations: 7.969 kB / 430 MB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008604/0.2806, allocations: 4.201 MB / 434.2 MB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.862e-06/0.2806, allocations: 0 / 434.2 MB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008599/0.2815, allocations: 175.8 kB / 434.4 MB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00159/0.2831, allocations: 0.5394 MB / 434.9 MB, free: 5.359 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/0.2832, allocations: 39.98 kB / 435 MB, free: 5.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01414/0.2973, allocations: 12.34 MB / 447.3 MB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.2973, allocations: 4.031 kB / 447.3 MB, free: 8.367 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005824/0.3031, allocations: 3.032 MB / 450.4 MB, free: 5.281 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009675/0.3041, allocations: 342.6 kB / 450.7 MB, free: 4.945 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003838/0.3045, allocations: 32 kB / 450.7 MB, free: 4.914 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.3055, allocations: 76.03 kB / 450.8 MB, free: 4.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003169/0.3058, allocations: 117 kB / 450.9 MB, free: 4.727 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/0.306, allocations: 39.98 kB / 451 MB, free: 4.688 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001984/0.3079, allocations: 1.075 MB / 452 MB, free: 3.617 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3079, allocations: 480 / 452 MB, free: 3.617 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002344/0.3103, allocations: 0.5781 MB / 452.6 MB, free: 3.039 MB / 414.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.0004103/0.3107, allocations: 175 kB / 452.8 MB, free: 2.855 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003965/0.3147, allocations: 2.205 MB / 455 MB, free: 0.5977 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.3147, allocations: 4.125 kB / 455 MB, free: 0.5938 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002757/0.3174, allocations: 1.683 MB / 456.7 MB, free: 14.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002439/0.3199, allocations: 461.7 kB / 457.1 MB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/0.3306, allocations: 5.656 MB / 462.8 MB, free: 8.688 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002417/0.333, allocations: 1.764 MB / 464.5 MB, free: 6.891 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001324/0.3343, allocations: 379.5 kB / 464.9 MB, free: 6.516 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003815/0.3347, allocations: 120.5 kB / 465 MB, free: 6.398 MB / 430.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3347, allocations: 3.938 kB / 465 MB, free: 6.395 MB / 430.1 MB Notification: Performance of Templates: time 0.1853/0.52, allocations: 27.69 MB / 492.7 MB, free: 117.4 MB / 430.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.924951151013374]