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.001836/0.001836, allocations: 124.5 kB / 18.46 MB, free: 4.578 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.001832/0.001832, allocations: 190.6 kB / 21.4 MB, free: 1.648 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.455/1.455, allocations: 225.6 MB / 249.8 MB, free: 3.617 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.001547/0.001547, allocations: 47.92 kB / 366.8 MB, free: 404 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1075, allocations: 52.14 MB / 419 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01735/0.1249, allocations: 13.7 MB / 432.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009712/0.1346, allocations: 4.439 MB / 437.1 MB, free: 9.945 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002553/0.1371, allocations: 75.75 kB / 437.2 MB, free: 9.871 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003646/0.1408, allocations: 1.041 MB / 438.2 MB, free: 8.824 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005126/0.1459, allocations: 1.371 MB / 439.6 MB, free: 7.449 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002833/0.1488, allocations: 0.8908 MB / 440.5 MB, free: 6.559 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006589/0.1553, allocations: 4.069 MB / 444.6 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003672/0.159, allocations: 2.25 MB / 446.8 MB, free: 156 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2049/0.3639, allocations: 1.896 MB / 448.7 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003257/0.3672, allocations: 2.124 MB / 450.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001093/0.3683, allocations: 0.5081 MB / 451.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001938/0.3702, allocations: 0.7116 MB / 452 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001123/0.3714, allocations: 1.12 MB / 453.2 MB, free: 9.914 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004042/0.3754, allocations: 2.134 MB / 455.3 MB, free: 9.391 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0102/0.3856, allocations: 6.732 MB / 462 MB, free: 8.664 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.3856, allocations: 1.188 kB / 462 MB, free: 8.664 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3856, allocations: 0.6562 kB / 462 MB, free: 8.664 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002447/0.3859, allocations: 0 / 462 MB, free: 8.664 MB / 366.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.01548/0.4013, allocations: 4.5 MB / 466.5 MB, free: 6.855 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.4014, allocations: 10.44 kB / 466.5 MB, free: 6.855 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005054/0.4064, allocations: 0.8278 MB / 467.4 MB, free: 6.594 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005747/0.4122, allocations: 2.447 MB / 469.8 MB, free: 5.258 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002502/0.4124, allocations: 236.8 kB / 470.1 MB, free: 5.152 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001276/0.4137, allocations: 327.9 kB / 470.4 MB, free: 5.043 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00917/0.4229, allocations: 4.268 MB / 474.6 MB, free: 2.695 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-05/0.423, allocations: 6.781 kB / 474.6 MB, free: 2.691 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003643/0.4233, allocations: 130.1 kB / 474.8 MB, free: 2.594 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001631/0.4235, allocations: 148.9 kB / 474.9 MB, free: 2.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007918/0.4314, allocations: 3.604 MB / 478.5 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02623/0.4577, allocations: 13.73 MB / 492.3 MB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007455/0.4651, allocations: 6.427 MB / 498.7 MB, free: 420 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002352/0.4675, allocations: 1.285 MB / 500 MB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006765/0.4742, allocations: 3.628 MB / 0.4918 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/0.4743, allocations: 51.88 kB / 0.4918 GB, free: 11.9 MB / 398.1 MB Notification: Performance of pre-optimization done (n=134): time 2.705e-06/0.4743, allocations: 0 / 0.4918 GB, free: 11.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=137): time 0.01279/0.4871, allocations: 5.895 MB / 0.4976 GB, free: 5.828 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.4871, allocations: 72.66 kB / 0.4977 GB, free: 5.742 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002939/0.4901, allocations: 1.788 MB / 0.4994 GB, free: 3.953 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000177/0.4902, allocations: 49.7 kB / 0.4995 GB, free: 3.898 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001135/0.4914, allocations: 1.477 MB / 0.5009 GB, free: 2.414 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004498/0.4918, allocations: 497.2 kB / 0.5014 GB, free: 1.934 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005207/0.4923, allocations: 319.4 kB / 0.5017 GB, free: 1.617 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.4925, allocations: 308.7 kB / 0.502 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/0.4936, allocations: 0.6754 MB / 0.5026 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/0.4952, allocations: 1.2 MB / 0.5038 GB, free: 15.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002803/0.498, allocations: 1.995 MB / 0.5058 GB, free: 13.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-05/0.498, allocations: 12 kB / 0.5058 GB, free: 13.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004401/0.5024, allocations: 2.538 MB / 0.5082 GB, free: 10.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.5024, allocations: 12 kB / 0.5083 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-05/0.5024, allocations: 16 kB / 0.5083 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/0.5035, allocations: 363.5 kB / 0.5086 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/0.5049, allocations: 376.4 kB / 0.509 GB, free: 9.859 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00843/0.5133, allocations: 8.423 MB / 0.5172 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002416/0.5157, allocations: 74.36 kB / 0.5173 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003071/0.516, allocations: 76.22 kB / 0.5173 GB, free: 0.7969 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.002553/0.5186, allocations: 1.002 MB / 0.5183 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005445/0.5191, allocations: 202.7 kB / 0.5185 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004293/0.5234, allocations: 2.271 MB / 0.5207 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/0.5234, allocations: 20 kB / 0.5208 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.858e-05/0.5234, allocations: 8 kB / 0.5208 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/0.5235, allocations: 7.969 kB / 0.5208 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009119/0.5326, allocations: 5.056 MB / 0.5257 GB, free: 8.137 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.5326, allocations: 4 kB / 0.5257 GB, free: 8.133 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008185/0.5334, allocations: 177.6 kB / 0.5259 GB, free: 7.969 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001545/0.535, allocations: 0.5315 MB / 0.5264 GB, free: 7.43 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.5351, allocations: 35.98 kB / 0.5264 GB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01363/0.5487, allocations: 13.22 MB / 0.5393 GB, free: 9.438 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.5487, allocations: 7.969 kB / 0.5394 GB, free: 9.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005637/0.5543, allocations: 3.21 MB / 0.5425 GB, free: 6.168 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/0.5555, allocations: 432.2 kB / 0.5429 GB, free: 5.727 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002842/0.5558, allocations: 35.94 kB / 0.5429 GB, free: 5.691 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009273/0.5567, allocations: 67.94 kB / 0.543 GB, free: 5.625 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003143/0.557, allocations: 99.89 kB / 0.5431 GB, free: 5.527 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-05/0.5571, allocations: 47.98 kB / 0.5431 GB, free: 5.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002019/0.5591, allocations: 1.215 MB / 0.5443 GB, free: 4.273 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5591, allocations: 3.938 kB / 0.5443 GB, free: 4.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002392/0.5615, allocations: 0.582 MB / 0.5449 GB, free: 3.688 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.0003658/0.5619, allocations: 171.6 kB / 0.5451 GB, free: 3.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003875/0.5658, allocations: 2.299 MB / 0.5473 GB, free: 1.207 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/0.5658, allocations: 128 / 0.5473 GB, free: 1.207 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002695/0.5685, allocations: 1.685 MB / 0.549 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002782/0.5712, allocations: 0.5365 MB / 0.5495 GB, free: 14.93 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.5824, allocations: 5.886 MB / 0.5552 GB, free: 9.02 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002264/0.5846, allocations: 2.253 MB / 0.5574 GB, free: 6.738 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006556/0.5853, allocations: 139.4 kB / 0.5576 GB, free: 6.602 MB / 462.1 MB Notification: Performance of SimCode: time 1.493e-06/0.5853, allocations: 0 / 0.5576 GB, free: 6.602 MB / 462.1 MB Notification: Performance of Templates: time 0.3245/0.9098, allocations: 129 MB / 0.6835 GB, free: 135.3 MB / 0.5137 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: 13.889257310889661]