Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007763/0.0007763, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003612/0.003612, allocations: 159.2 kB / 24.7 MB, free: 9.41 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8358/0.8358, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 325.9 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.099e-05, allocations: 2.281 kB / 325.9 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.009231/0.009252, allocations: 12.53 MB / 338.4 MB, free: 2.848 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007124/0.01638, allocations: 4.443 MB / 342.8 MB, free: 14.39 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001592/0.01797, allocations: 103.4 kB / 342.9 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001773/0.01974, allocations: 1.017 MB / 343.9 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002328/0.02207, allocations: 1.366 MB / 345.3 MB, free: 11.89 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.02325, allocations: 0.9272 MB / 346.2 MB, free: 10.96 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003199/0.02644, allocations: 4.33 MB / 350.6 MB, free: 6.613 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001511/0.02796, allocations: 1.734 MB / 352.3 MB, free: 4.812 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002423/0.03038, allocations: 2.858 MB / 355.2 MB, free: 1.949 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001448/0.03183, allocations: 1.761 MB / 356.9 MB, free: 188 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003612/0.03219, allocations: 0.5117 MB / 357.4 MB, free: 15.67 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007955/0.03298, allocations: 0.7183 MB / 358.1 MB, free: 14.95 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005489/0.03353, allocations: 1.149 MB / 359.3 MB, free: 13.8 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001101/0.03463, allocations: 1.45 MB / 360.7 MB, free: 12.35 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004155/0.03879, allocations: 6.817 MB / 367.6 MB, free: 5.512 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.03879, allocations: 0 / 367.6 MB, free: 5.512 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.03879, allocations: 0 / 367.6 MB, free: 5.512 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.138e-05/0.03884, allocations: 0 / 367.6 MB, free: 5.512 MB / 330.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.005413/0.04425, allocations: 4.404 MB / 372 MB, free: 1.047 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.04429, allocations: 12.03 kB / 372 MB, free: 1.035 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002017/0.0463, allocations: 0.8261 MB / 372.8 MB, free: 212 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002747/0.04905, allocations: 2.388 MB / 375.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.04916, allocations: 234.8 kB / 375.4 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000303/0.04946, allocations: 332.3 kB / 375.7 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004722/0.05418, allocations: 4.425 MB / 380.2 MB, free: 8.695 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.358e-05/0.05424, allocations: 7.953 kB / 380.2 MB, free: 8.688 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001973/0.05444, allocations: 128 kB / 380.3 MB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-05/0.05452, allocations: 150.4 kB / 380.5 MB, free: 8.414 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003967/0.05849, allocations: 3.613 MB / 384.1 MB, free: 4.793 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01205/0.07054, allocations: 11.83 MB / 395.9 MB, free: 8.621 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002875/0.07342, allocations: 2.594 MB / 398.5 MB, free: 6.133 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/0.07475, allocations: 1.285 MB / 399.8 MB, free: 4.848 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003482/0.07823, allocations: 3.05 MB / 402.8 MB, free: 1.766 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.07826, allocations: 51.88 kB / 402.9 MB, free: 1.707 MB / 362.7 MB Notification: Performance of pre-optimization done (n=134): time 2.184e-06/0.07827, allocations: 0 / 402.9 MB, free: 1.707 MB / 362.7 MB Notification: Performance of matching and sorting (n=137): time 0.006578/0.08484, allocations: 5.226 MB / 408.1 MB, free: 12.44 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.08488, allocations: 68.7 kB / 408.2 MB, free: 12.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001676/0.08656, allocations: 1.616 MB / 409.8 MB, free: 10.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.54e-05/0.08663, allocations: 49.7 kB / 409.8 MB, free: 10.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006499/0.08728, allocations: 1.496 MB / 411.3 MB, free: 9.172 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002518/0.08753, allocations: 499.7 kB / 411.8 MB, free: 8.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003014/0.08783, allocations: 311.5 kB / 412.1 MB, free: 8.371 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.768e-05/0.0879, allocations: 305.1 kB / 412.4 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007092/0.08861, allocations: 0.6832 MB / 413.1 MB, free: 7.387 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.08966, allocations: 1.226 MB / 414.3 MB, free: 5.926 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/0.09136, allocations: 2.003 MB / 416.3 MB, free: 3.703 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.415e-06/0.09136, allocations: 8 kB / 416.3 MB, free: 3.695 MB / 378.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.002426/0.09379, allocations: 2.449 MB / 418.8 MB, free: 1.223 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.09381, allocations: 16.06 kB / 418.8 MB, free: 1.207 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.09383, allocations: 16 kB / 418.8 MB, free: 1.191 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005542/0.09438, allocations: 364 kB / 419.2 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006971/0.09508, allocations: 383.3 kB / 419.5 MB, free: 456 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00468/0.09976, allocations: 7.804 MB / 427.4 MB, free: 8.238 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006643/0.1004, allocations: 79.91 kB / 427.4 MB, free: 8.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.207e-05/0.1005, allocations: 72 kB / 427.5 MB, free: 8.09 MB / 394.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.001404/0.1019, allocations: 1.005 MB / 428.5 MB, free: 7.074 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.1021, allocations: 194.9 kB / 428.7 MB, free: 6.883 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/0.1044, allocations: 2.114 MB / 430.8 MB, free: 4.734 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.1044, allocations: 16 kB / 430.8 MB, free: 4.719 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.1044, allocations: 8 kB / 430.8 MB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.1044, allocations: 3.984 kB / 430.8 MB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004469/0.1089, allocations: 4.193 MB / 435 MB, free: 444 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.1089, allocations: 4 kB / 435 MB, free: 440 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003999/0.1093, allocations: 179.7 kB / 435.2 MB, free: 260 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009561/0.1102, allocations: 0.5359 MB / 435.7 MB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.27e-05/0.1103, allocations: 39.98 kB / 435.8 MB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007306/0.1176, allocations: 12.35 MB / 448.1 MB, free: 2.715 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.1176, allocations: 11.95 kB / 448.1 MB, free: 2.703 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1587/0.2763, allocations: 3.037 MB / 451.2 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/0.2774, allocations: 341.5 kB / 451.5 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002329/0.2776, allocations: 35.02 kB / 451.5 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006001/0.2782, allocations: 63.78 kB / 451.6 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003233/0.2786, allocations: 117.7 kB / 451.7 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.102e-05/0.2786, allocations: 40.11 kB / 451.8 MB, free: 110.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001495/0.2801, allocations: 1.074 MB / 452.8 MB, free: 110.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.2801, allocations: 1.219 kB / 452.8 MB, free: 110.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001742/0.2819, allocations: 0.5818 MB / 453.4 MB, free: 110.4 MB / 410.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.0002964/0.2822, allocations: 179 kB / 453.6 MB, free: 110.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002262/0.2844, allocations: 2.205 MB / 455.8 MB, free: 109.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.2844, allocations: 3.938 kB / 455.8 MB, free: 109.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001316/0.2858, allocations: 1.669 MB / 457.5 MB, free: 108.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.2869, allocations: 461.3 kB / 457.9 MB, free: 108.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006051/0.2929, allocations: 5.651 MB / 463.6 MB, free: 106 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001122/0.294, allocations: 1.711 MB / 465.3 MB, free: 105 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002456/0.2943, allocations: 134.5 kB / 465.4 MB, free: 104.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.322e-06/0.2943, allocations: 0 / 465.4 MB, free: 104.9 MB / 410.7 MB Notification: Performance of Templates: time 0.06075/0.355, allocations: 129.6 MB / 0.581 GB, free: 8.625 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 8.586992383003235]