Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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.001248/0.001248, allocations: 101.5 kB / 21.22 MB, free: 0.6211 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.001316/0.001316, allocations: 188.3 kB / 24.49 MB, free: 3.934 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.366/1.366, allocations: 225.7 MB / 253.3 MB, free: 12.83 MB / 206.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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 51.91 kB / 371.2 MB, free: 9.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2304, allocations: 52.18 MB / 423.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02575/0.2562, allocations: 21.31 MB / 444.7 MB, free: 8.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01419/0.2703, allocations: 7.061 MB / 451.8 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004361/0.2747, allocations: 222.9 kB / 452 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01984/0.2945, allocations: 8.216 MB / 460.2 MB, free: 9.434 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009692/0.3042, allocations: 2.98 MB / 463.2 MB, free: 6.445 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005769/0.31, allocations: 1.695 MB / 464.9 MB, free: 4.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01466/0.3247, allocations: 10.85 MB / 475.7 MB, free: 9.871 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02648/0.3512, allocations: 14.35 MB / 490.1 MB, free: 11.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008863/0.36, allocations: 5.876 MB / 496 MB, free: 5.484 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01011/0.3701, allocations: 6.316 MB / 0.4905 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004561/0.3747, allocations: 1.672 MB / 0.4921 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006299/0.381, allocations: 2.035 MB / 0.4941 GB, free: 11.44 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004915/0.3859, allocations: 3.164 MB / 0.4972 GB, free: 8.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008729/0.3946, allocations: 4.717 MB / 0.5018 GB, free: 3.535 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02671/0.4213, allocations: 22.46 MB / 0.5237 GB, free: 13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4213, allocations: 4 kB / 0.5238 GB, free: 13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4213, allocations: 0 / 0.5238 GB, free: 13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000461/0.4218, allocations: 0 / 0.5238 GB, free: 13 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.03618/0.458, allocations: 12.87 MB / 0.5363 GB, free: 40 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.458, allocations: 8.031 kB / 0.5363 GB, free: 32 kB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.3526/0.8106, allocations: 287 kB / 0.5366 GB, free: 97.17 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005663/0.8163, allocations: 1.544 MB / 0.5381 GB, free: 96.87 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03354/0.8498, allocations: 6.252 MB / 0.5442 GB, free: 95.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01308/0.8629, allocations: 6.991 MB / 0.551 GB, free: 90.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006132/0.8635, allocations: 0.702 MB / 0.5517 GB, free: 89.51 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003595/0.8671, allocations: 0.9173 MB / 0.5526 GB, free: 88.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03484/0.902, allocations: 15.9 MB / 0.5682 GB, free: 72.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002886/0.9023, allocations: 19.88 kB / 0.5682 GB, free: 72.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00257/0.9048, allocations: 395.3 kB / 0.5685 GB, free: 72.24 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004319/0.9053, allocations: 0.5509 MB / 0.5691 GB, free: 71.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02545/0.9307, allocations: 14.77 MB / 0.5835 GB, free: 56.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06687/0.9976, allocations: 45.65 MB / 0.6281 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01405/1.012, allocations: 9.192 MB / 0.6371 GB, free: 2.812 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003911/1.016, allocations: 2.928 MB / 0.6399 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003114/1.016, allocations: 90.97 kB / 0.64 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.272e-05/1.016, allocations: 73.7 kB / 0.6401 GB, free: 15.71 MB / 462.1 MB Notification: Performance of pre-optimization done (n=400): time 6.994e-06/1.016, allocations: 0 / 0.6401 GB, free: 15.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=467): time 0.06235/1.078, allocations: 26.82 MB / 0.6663 GB, free: 4.996 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.08e-05/1.078, allocations: 99.06 kB / 0.6664 GB, free: 4.887 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006091/1.084, allocations: 3.696 MB / 0.67 GB, free: 1.191 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000785/1.085, allocations: 101.7 kB / 0.6701 GB, free: 1.086 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003208/1.088, allocations: 4.124 MB / 0.6741 GB, free: 12.92 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002264/1.091, allocations: 1.662 MB / 0.6757 GB, free: 11.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002269/1.093, allocations: 1.228 MB / 0.6769 GB, free: 10.01 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/1.093, allocations: 305.1 kB / 0.6772 GB, free: 9.707 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005412/1.099, allocations: 3.194 MB / 0.6803 GB, free: 6.508 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007694/1.106, allocations: 5.422 MB / 0.6856 GB, free: 92 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01478/1.121, allocations: 9.231 MB / 0.6946 GB, free: 5.871 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.921e-05/1.121, allocations: 23.94 kB / 0.6947 GB, free: 5.848 MB / 0.4982 GB Notification: Performance of matching and sorting (n=815) (initialization): time 0.02402/1.145, allocations: 10.94 MB / 0.7054 GB, free: 10.88 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 7.521e-05/1.145, allocations: 36 kB / 0.7054 GB, free: 10.85 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001476/1.145, allocations: 68 kB / 0.7055 GB, free: 10.78 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007466/1.153, allocations: 2.454 MB / 0.7079 GB, free: 8.32 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005481/1.158, allocations: 1.33 MB / 0.7091 GB, free: 6.988 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03322/1.192, allocations: 20.14 MB / 0.7288 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004796/1.196, allocations: 351.6 kB / 0.7291 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001183/1.197, allocations: 300 kB / 0.7294 GB, free: 1.965 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (700): * Single equations (assignments): 697 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(14,44,41.8%), (14,44,39.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007459/1.205, allocations: 3.779 MB / 0.7331 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001171/1.206, allocations: 445.2 kB / 0.7336 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01649/1.223, allocations: 8.585 MB / 0.7419 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2488/1.471, allocations: 7.327 MB / 0.7491 GB, free: 185 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001309/1.472, allocations: 25.39 kB / 0.7491 GB, free: 185 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001631/1.472, allocations: 27.05 kB / 0.7491 GB, free: 185 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03419/1.506, allocations: 18.21 MB / 0.7669 GB, free: 178.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.283e-05/1.506, allocations: 3.781 kB / 0.7669 GB, free: 178.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003044/1.509, allocations: 0.7394 MB / 0.7677 GB, free: 178.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005853/1.515, allocations: 2.186 MB / 0.7698 GB, free: 178.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007646/1.516, allocations: 104.1 kB / 0.7699 GB, free: 178.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02107/1.537, allocations: 16.88 MB / 0.7864 GB, free: 167.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/1.537, allocations: 4 kB / 0.7864 GB, free: 167.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0176/1.554, allocations: 12.31 MB / 0.7984 GB, free: 156.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002545/1.557, allocations: 1.046 MB / 0.7994 GB, free: 155.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007098/1.558, allocations: 88 kB / 0.7995 GB, free: 155.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002209/1.56, allocations: 219.2 kB / 0.7997 GB, free: 155 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000856/1.561, allocations: 367.8 kB / 0.8001 GB, free: 154.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002693/1.561, allocations: 132 kB / 0.8002 GB, free: 154.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003547/1.564, allocations: 2.495 MB / 0.8026 GB, free: 152 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/1.564, allocations: 0 / 0.8026 GB, free: 152 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007211/1.572, allocations: 1.787 MB / 0.8044 GB, free: 150.2 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (imcQS.stator.stray.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (401): * Single equations (assignments): 398 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(14,38,41.8%), (14,44,39.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01712/1.589, allocations: 13.07 MB / 0.8171 GB, free: 137.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.013/1.602, allocations: 8.533 MB / 0.8255 GB, free: 128.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/1.602, allocations: 0 / 0.8255 GB, free: 128.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007509/1.609, allocations: 4.302 MB / 0.8297 GB, free: 124.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00585/1.615, allocations: 0.9866 MB / 0.8306 GB, free: 123.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07503/1.69, allocations: 59.95 MB / 0.8892 GB, free: 60.97 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007941/1.698, allocations: 5.887 MB / 0.8949 GB, free: 55.04 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004577/1.703, allocations: 1.926 MB / 0.8968 GB, free: 53.11 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003816/1.707, allocations: 3.358 MB / 0.9001 GB, free: 49.75 MB / 0.545 GB Notification: Performance of SimCode: time 1.112e-06/1.707, allocations: 0 / 0.9001 GB, free: 49.75 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4468/2.153, allocations: 150 MB / 1.047 GB, free: 131.9 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.65/22.8, allocations: 4.062 kB / 1.047 GB, free: 131.9 MB / 0.5607 GB " [Timeout remaining time 637] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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: 26.266872149077244]