Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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.005461/0.005461, allocations: 110.7 kB / 21.97 MB, free: 5.25 MB / 14.72 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.001385/0.001385, allocations: 206.5 kB / 25.27 MB, free: 3.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 207.6 MB / 236 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_3_2_3_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_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 52.2 kB / 348 MB, free: 10 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2395, allocations: 49.16 MB / 397.2 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.0246/0.2641, allocations: 25.05 MB / 422.2 MB, free: 7.203 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01731/0.2814, allocations: 7.397 MB / 429.6 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00659/0.288, allocations: 185.5 kB / 429.8 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02051/0.3086, allocations: 8.922 MB / 438.7 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01148/0.32, allocations: 3.09 MB / 441.8 MB, free: 6.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005953/0.326, allocations: 1.798 MB / 443.6 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01791/0.3439, allocations: 10.99 MB / 454.6 MB, free: 9.992 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03055/0.3744, allocations: 14.4 MB / 469 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01028/0.3847, allocations: 5.943 MB / 474.9 MB, free: 5.488 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01126/0.396, allocations: 6.436 MB / 481.4 MB, free: 15.03 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004737/0.4007, allocations: 1.68 MB / 483.1 MB, free: 13.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006865/0.4076, allocations: 2.058 MB / 485.1 MB, free: 11.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005673/0.4133, allocations: 3.231 MB / 488.3 MB, free: 8.055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01164/0.4249, allocations: 6.176 MB / 494.5 MB, free: 1.855 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03081/0.4557, allocations: 22.42 MB / 0.5048 GB, free: 11.37 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.173e-05/0.4557, allocations: 8 kB / 0.5048 GB, free: 11.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4557, allocations: 0 / 0.5048 GB, free: 11.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006882/0.4564, allocations: 0 / 0.5048 GB, free: 11.36 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.04533/0.5017, allocations: 13.05 MB / 0.5176 GB, free: 14.22 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.98e-05/0.5018, allocations: 11.98 kB / 0.5176 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003733/0.5022, allocations: 289.1 kB / 0.5179 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006826/0.509, allocations: 1.585 MB / 0.5194 GB, free: 12.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04024/0.5492, allocations: 7.235 MB / 0.5265 GB, free: 5.078 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0137/0.5629, allocations: 6.239 MB / 0.5326 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008178/0.5638, allocations: 0.7144 MB / 0.5333 GB, free: 14.06 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003718/0.5675, allocations: 0.9374 MB / 0.5342 GB, free: 13.12 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03922/0.6067, allocations: 16.21 MB / 0.55 GB, free: 12.85 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003651/0.6071, allocations: 19.94 kB / 0.55 GB, free: 12.83 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002705/0.6098, allocations: 396 kB / 0.5504 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006645/0.6104, allocations: 0.5903 MB / 0.551 GB, free: 11.85 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3903/1.001, allocations: 15.46 MB / 0.5661 GB, free: 130 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0799/1.081, allocations: 50.85 MB / 0.6157 GB, free: 97.03 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0182/1.099, allocations: 11.09 MB / 0.6266 GB, free: 89.65 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004205/1.103, allocations: 3.086 MB / 0.6296 GB, free: 86.55 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01424/1.117, allocations: 9.834 MB / 0.6392 GB, free: 76.93 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/1.117, allocations: 64.88 kB / 0.6392 GB, free: 76.86 MB / 478.1 MB Notification: Performance of pre-optimization done (n=299): time 4.949e-06/1.117, allocations: 0 / 0.6392 GB, free: 76.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=366): time 0.04883/1.166, allocations: 24.48 MB / 0.6631 GB, free: 52.71 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/1.166, allocations: 98.22 kB / 0.6632 GB, free: 52.6 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006654/1.173, allocations: 3.865 MB / 0.667 GB, free: 48.78 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005084/1.173, allocations: 85.7 kB / 0.6671 GB, free: 48.69 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001937/1.175, allocations: 4.409 MB / 0.6714 GB, free: 44.25 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00123/1.177, allocations: 1.321 MB / 0.6727 GB, free: 42.91 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002588/1.179, allocations: 1.187 MB / 0.6739 GB, free: 41.71 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.111e-05/1.179, allocations: 305.1 kB / 0.6741 GB, free: 41.41 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003854/1.183, allocations: 2.963 MB / 0.677 GB, free: 38.45 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004715/1.188, allocations: 5.349 MB / 0.6823 GB, free: 31.97 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008866/1.197, allocations: 8.854 MB / 0.6909 GB, free: 21.98 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.275e-05/1.197, allocations: 24 kB / 0.6909 GB, free: 21.96 MB / 478.1 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.01872/1.215, allocations: 10.49 MB / 0.7012 GB, free: 11.43 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/1.216, allocations: 40 kB / 0.7012 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001466/1.216, allocations: 80 kB / 0.7013 GB, free: 11.31 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006528/1.222, allocations: 2.481 MB / 0.7037 GB, free: 8.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004394/1.227, allocations: 1.228 MB / 0.7049 GB, free: 7.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03191/1.259, allocations: 20.54 MB / 0.725 GB, free: 2.801 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004923/1.263, allocations: 347.6 kB / 0.7253 GB, free: 2.461 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001265/1.265, allocations: 304 kB / 0.7256 GB, free: 2.164 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (644): * Single equations (assignments): 641 * 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,38.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008451/1.273, allocations: 3.802 MB / 0.7293 GB, free: 14.34 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001597/1.275, allocations: 429.2 kB / 0.7297 GB, free: 13.92 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0183/1.293, allocations: 7.688 MB / 0.7372 GB, free: 6.188 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01443/1.307, allocations: 6.508 MB / 0.7436 GB, free: 15.64 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.578e-05/1.308, allocations: 16 kB / 0.7436 GB, free: 15.62 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.982e-05/1.308, allocations: 23.92 kB / 0.7436 GB, free: 15.6 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2631/1.571, allocations: 16.78 MB / 0.76 GB, free: 164.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.757e-05/1.571, allocations: 4.484 kB / 0.76 GB, free: 164.3 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002656/1.573, allocations: 0.581 MB / 0.7606 GB, free: 164.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006048/1.579, allocations: 2.195 MB / 0.7627 GB, free: 164.2 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005304/1.58, allocations: 92.22 kB / 0.7628 GB, free: 164.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02313/1.603, allocations: 17.2 MB / 0.7796 GB, free: 156.9 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.603, allocations: 3.625 kB / 0.7796 GB, free: 156.9 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01493/1.618, allocations: 10.98 MB / 0.7903 GB, free: 152.4 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001961/1.62, allocations: 0.9487 MB / 0.7913 GB, free: 152.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005598/1.621, allocations: 72.11 kB / 0.7913 GB, free: 152 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001966/1.623, allocations: 197.4 kB / 0.7915 GB, free: 152 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007/1.623, allocations: 299.8 kB / 0.7918 GB, free: 151.9 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002153/1.623, allocations: 109.5 kB / 0.7919 GB, free: 151.9 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.002877/1.626, allocations: 2.587 MB / 0.7944 GB, free: 151 MB / 0.5138 GB Notification: Performance of sort global known variables: time 8e-08/1.626, allocations: 0 / 0.7944 GB, free: 151 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.004904/1.631, allocations: 1.721 MB / 0.7961 GB, free: 150.8 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (imcQS.stator.strayReluctance.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 (294): * Single equations (assignments): 291 * 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,39.8%), (14,44,40.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01421/1.645, allocations: 11.68 MB / 0.8075 GB, free: 143.8 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0115/1.657, allocations: 7.952 MB / 0.8153 GB, free: 136.9 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/1.657, allocations: 0 / 0.8153 GB, free: 136.9 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.006673/1.664, allocations: 3.956 MB / 0.8191 GB, free: 133.2 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004555/1.668, allocations: 0.9688 MB / 0.8201 GB, free: 132.3 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1098/1.778, allocations: 58.61 MB / 0.8773 GB, free: 70.86 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01089/1.789, allocations: 6.379 MB / 0.8835 GB, free: 64.44 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005728/1.795, allocations: 1.9 MB / 0.8854 GB, free: 62.54 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005575/1.8, allocations: 3.338 MB / 0.8887 GB, free: 59.2 MB / 0.5138 GB Notification: Performance of SimCode: time 2.094e-06/1.8, allocations: 0 / 0.8887 GB, free: 59.2 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4438/2.244, allocations: 143 MB / 1.028 GB, free: 131.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.99/22.23, allocations: 11.7 kB / 1.028 GB, free: 131.1 MB / 0.5294 GB " [Timeout remaining time 638] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 25.566166820004582]