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.001354/0.001354, allocations: 75.75 kB / 21.24 MB, free: 396 kB / 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.001445/0.001445, allocations: 160.7 kB / 24.5 MB, free: 3.453 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.43/1.43, allocations: 177.1 MB / 204.7 MB, free: 9.012 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 0.00192/0.00192, allocations: 61.17 kB / 325.5 MB, free: 212 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08587/0.08779, allocations: 53.39 MB / 378.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01575/0.1035, allocations: 12.5 MB / 391.4 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008753/0.1123, allocations: 4.439 MB / 395.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002093/0.1144, allocations: 99.44 kB / 396 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002987/0.1174, allocations: 1.002 MB / 397 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004078/0.1214, allocations: 1.324 MB / 398.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002422/0.1239, allocations: 0.9158 MB / 399.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00542/0.1293, allocations: 4.147 MB / 403.4 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003078/0.1324, allocations: 1.734 MB / 405.1 MB, free: 5.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002855/0.1352, allocations: 1.963 MB / 407.1 MB, free: 3.191 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003599/0.1388, allocations: 2.105 MB / 409.2 MB, free: 1.078 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001049/0.1399, allocations: 0.5078 MB / 409.7 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00189/0.1418, allocations: 0.7068 MB / 410.4 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001278/0.143, allocations: 1.126 MB / 411.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002269/0.1453, allocations: 1.696 MB / 413.2 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007414/0.1527, allocations: 6.79 MB / 420 MB, free: 6.219 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1527, allocations: 0 / 420 MB, free: 6.219 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1527, allocations: 0 / 420 MB, free: 6.219 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001269/0.1529, allocations: 3.984 kB / 420 MB, free: 6.215 MB / 382.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.0106/0.1635, allocations: 4.439 MB / 424.4 MB, free: 1.715 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.1635, allocations: 15.98 kB / 424.5 MB, free: 1.699 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004374/0.1679, allocations: 0.8261 MB / 425.3 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004802/0.1727, allocations: 2.388 MB / 427.7 MB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000212/0.1729, allocations: 238.8 kB / 427.9 MB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005908/0.1735, allocations: 331.9 kB / 428.2 MB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007818/0.1813, allocations: 4.417 MB / 432.6 MB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.26e-05/0.1814, allocations: 15.94 kB / 432.7 MB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003058/0.1817, allocations: 128 kB / 432.8 MB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001626/0.1818, allocations: 150.4 kB / 432.9 MB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006793/0.1886, allocations: 3.594 MB / 436.5 MB, free: 5.477 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02065/0.2093, allocations: 11.84 MB / 448.4 MB, free: 9.289 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005346/0.2146, allocations: 2.583 MB / 450.9 MB, free: 6.816 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002366/0.217, allocations: 1.285 MB / 452.2 MB, free: 5.531 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006079/0.2231, allocations: 3.062 MB / 455.3 MB, free: 2.441 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/0.2231, allocations: 47.81 kB / 455.3 MB, free: 2.383 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 3.216e-06/0.2231, allocations: 0 / 455.3 MB, free: 2.383 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01161/0.2347, allocations: 5.214 MB / 460.6 MB, free: 13.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.2348, allocations: 72.66 kB / 460.6 MB, free: 13.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002409/0.2372, allocations: 1.609 MB / 462.2 MB, free: 11.42 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.987e-05/0.2373, allocations: 49.64 kB / 462.3 MB, free: 11.37 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001141/0.2384, allocations: 1.512 MB / 463.8 MB, free: 9.844 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004318/0.2389, allocations: 0.4958 MB / 464.3 MB, free: 9.344 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004953/0.2394, allocations: 319.4 kB / 464.6 MB, free: 9.027 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.2395, allocations: 301.1 kB / 464.9 MB, free: 8.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/0.2407, allocations: 0.6871 MB / 465.6 MB, free: 8.043 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001619/0.2423, allocations: 1.226 MB / 466.8 MB, free: 6.586 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002926/0.2452, allocations: 1.999 MB / 468.8 MB, free: 4.363 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/0.2452, allocations: 8 kB / 468.8 MB, free: 4.355 MB / 430.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004456/0.2497, allocations: 2.445 MB / 471.3 MB, free: 1.887 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.2497, allocations: 12 kB / 471.3 MB, free: 1.875 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.52e-05/0.2497, allocations: 16 kB / 471.3 MB, free: 1.859 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009808/0.2507, allocations: 364.2 kB / 471.6 MB, free: 1.488 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/0.2522, allocations: 375.4 kB / 472 MB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1867/0.4389, allocations: 7.813 MB / 479.8 MB, free: 76.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.4402, allocations: 77.09 kB / 479.9 MB, free: 76.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.4403, allocations: 80.94 kB / 480 MB, free: 76.04 MB / 430.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.00157/0.4419, allocations: 1.01 MB / 481 MB, free: 75.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002973/0.4422, allocations: 186 kB / 481.2 MB, free: 75.6 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00361/0.4458, allocations: 2.102 MB / 483.3 MB, free: 74.69 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.126e-05/0.4458, allocations: 13.38 kB / 483.3 MB, free: 74.69 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-05/0.4459, allocations: 12.28 kB / 483.3 MB, free: 74.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.652e-05/0.4459, allocations: 7.203 kB / 483.3 MB, free: 74.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006664/0.4525, allocations: 4.207 MB / 487.5 MB, free: 72.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.4525, allocations: 2.672 kB / 487.5 MB, free: 72.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007945/0.4533, allocations: 176.4 kB / 487.7 MB, free: 72.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001289/0.4546, allocations: 0.534 MB / 488.2 MB, free: 72.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-05/0.4547, allocations: 40.45 kB / 488.3 MB, free: 72.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008957/0.4637, allocations: 12.36 MB / 0.4889 GB, free: 62.44 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4637, allocations: 9.328 kB / 0.4889 GB, free: 62.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004173/0.4678, allocations: 3.044 MB / 0.4919 GB, free: 61.11 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008011/0.4686, allocations: 340.1 kB / 0.4922 GB, free: 61.01 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/0.4688, allocations: 33.38 kB / 0.4922 GB, free: 60.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008606/0.4697, allocations: 66.25 kB / 0.4923 GB, free: 60.96 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002495/0.47, allocations: 116.1 kB / 0.4924 GB, free: 60.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-05/0.47, allocations: 44.27 kB / 0.4924 GB, free: 60.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001265/0.4713, allocations: 1.076 MB / 0.4935 GB, free: 60.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4713, allocations: 0 / 0.4935 GB, free: 60.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001914/0.4732, allocations: 0.5772 MB / 0.4941 GB, free: 60.45 MB / 430.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.0002954/0.4735, allocations: 175.7 kB / 0.4942 GB, free: 60.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002828/0.4763, allocations: 2.203 MB / 0.4964 GB, free: 59.22 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.4763, allocations: 1.594 kB / 0.4964 GB, free: 59.22 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001936/0.4783, allocations: 1.685 MB / 0.498 GB, free: 57.88 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/0.4801, allocations: 472.1 kB / 0.4985 GB, free: 57.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008236/0.4883, allocations: 5.887 MB / 0.5042 GB, free: 51.76 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001421/0.4897, allocations: 1.756 MB / 0.5059 GB, free: 49.96 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001103/0.4908, allocations: 375.5 kB / 0.5063 GB, free: 49.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002565/0.4911, allocations: 124.5 kB / 0.5064 GB, free: 49.47 MB / 430.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4911, allocations: 0 / 0.5064 GB, free: 49.47 MB / 430.1 MB Notification: Performance of Templates: time 0.03883/0.5299, allocations: 27.9 MB / 0.5337 GB, free: 21.96 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 -s ida -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/jenkins1/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/jenkins1/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.797905468964018]