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.IMS_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.001242/0.001242, allocations: 108.6 kB / 18.49 MB, free: 4.543 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.001294/0.001294, allocations: 197 kB / 21.43 MB, free: 1.609 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.38/1.38, allocations: 225.6 MB / 249.8 MB, free: 3.613 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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 51.92 kB / 366.4 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09941/0.1009, allocations: 52.12 MB / 418.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03069/0.1316, allocations: 27.09 MB / 445.6 MB, free: 1.383 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2101/0.3417, allocations: 8.059 MB / 453.7 MB, free: 7.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004738/0.3464, allocations: 236.7 kB / 453.9 MB, free: 7.73 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01886/0.3653, allocations: 9.466 MB / 463.4 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01028/0.3756, allocations: 3.371 MB / 466.7 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005325/0.3809, allocations: 1.822 MB / 468.5 MB, free: 4.652 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01545/0.3963, allocations: 12.16 MB / 480.7 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02965/0.426, allocations: 18.63 MB / 499.3 MB, free: 2.988 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01188/0.4379, allocations: 6.581 MB / 0.4941 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01272/0.4506, allocations: 7.251 MB / 0.5011 GB, free: 5.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005011/0.4556, allocations: 1.84 MB / 0.5029 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007064/0.4627, allocations: 2.201 MB / 0.5051 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00565/0.4683, allocations: 3.624 MB / 0.5086 GB, free: 13.9 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01242/0.4807, allocations: 6.919 MB / 0.5154 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03219/0.5129, allocations: 24.79 MB / 0.5396 GB, free: 14.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.5129, allocations: 0 / 0.5396 GB, free: 14.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5129, allocations: 0 / 0.5396 GB, free: 14.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005364/0.5135, allocations: 7.938 kB / 0.5396 GB, free: 14.61 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.04536/0.5588, allocations: 14.73 MB / 0.554 GB, free: 15.87 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.5589, allocations: 8.031 kB / 0.554 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004029/0.5593, allocations: 339.5 kB / 0.5543 GB, free: 15.53 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005854/0.5651, allocations: 1.781 MB / 0.5561 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04687/0.612, allocations: 8.536 MB / 0.5644 GB, free: 5.305 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01596/0.628, allocations: 7.678 MB / 0.5719 GB, free: 13.59 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008155/0.6288, allocations: 0.8086 MB / 0.5727 GB, free: 12.8 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003705/0.6325, allocations: 1.068 MB / 0.5737 GB, free: 11.74 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04401/0.6765, allocations: 18.29 MB / 0.5916 GB, free: 9.434 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003799/0.6769, allocations: 7.953 kB / 0.5916 GB, free: 9.426 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003829/0.6807, allocations: 450.3 kB / 0.592 GB, free: 9 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007626/0.6815, allocations: 0.6711 MB / 0.5927 GB, free: 8.328 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03611/0.7176, allocations: 17.55 MB / 0.6098 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4361/1.154, allocations: 58.23 MB / 0.6667 GB, free: 123.2 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02239/1.176, allocations: 36.96 MB / 0.7028 GB, free: 88.93 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005332/1.181, allocations: 3.743 MB / 0.7064 GB, free: 86.96 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004164/1.182, allocations: 196.4 kB / 0.7066 GB, free: 86.83 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.504e-05/1.182, allocations: 88.7 kB / 0.7067 GB, free: 86.75 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=520): time 7.104e-06/1.182, allocations: 0.625 kB / 0.7067 GB, free: 86.75 MB / 0.5138 GB Notification: Performance of matching and sorting (n=599): time 0.06583/1.248, allocations: 34.23 MB / 0.7401 GB, free: 66.13 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/1.248, allocations: 116 kB / 0.7402 GB, free: 66 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004794/1.253, allocations: 4.186 MB / 0.7443 GB, free: 61.84 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0007085/1.253, allocations: 121.7 kB / 0.7444 GB, free: 61.72 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001736/1.255, allocations: 4.675 MB / 0.749 GB, free: 57.59 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001516/1.256, allocations: 2.116 MB / 0.7511 GB, free: 55.5 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001832/1.258, allocations: 1.459 MB / 0.7525 GB, free: 54.04 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 3.776e-05/1.258, allocations: 301.1 kB / 0.7528 GB, free: 53.74 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004535/1.263, allocations: 3.923 MB / 0.7566 GB, free: 49.81 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005585/1.268, allocations: 6.397 MB / 0.7629 GB, free: 42.33 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01163/1.28, allocations: 11.11 MB / 0.7737 GB, free: 30.06 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-05/1.28, allocations: 20 kB / 0.7737 GB, free: 30.04 MB / 0.5138 GB Notification: Performance of matching and sorting (n=985) (initialization): time 0.02/1.3, allocations: 13.09 MB / 0.7865 GB, free: 16.87 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.749e-05/1.3, allocations: 36 kB / 0.7866 GB, free: 16.84 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001225/1.3, allocations: 80 kB / 0.7866 GB, free: 16.76 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006829/1.307, allocations: 2.893 MB / 0.7895 GB, free: 13.87 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005514/1.313, allocations: 1.622 MB / 0.791 GB, free: 12.24 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03296/1.346, allocations: 24.14 MB / 0.8146 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006542/1.352, allocations: 431.5 kB / 0.815 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001758/1.354, allocations: 355.9 kB / 0.8154 GB, free: 3.059 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (846): * Single equations (assignments): 843 * 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,56,41.8%), (14,56,38.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0082/1.362, allocations: 4.259 MB / 0.8195 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00151/1.364, allocations: 0.5163 MB / 0.82 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02014/1.384, allocations: 10.66 MB / 0.8304 GB, free: 3.508 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01702/1.401, allocations: 9.11 MB / 0.8393 GB, free: 10.31 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.174e-05/1.401, allocations: 31.94 kB / 0.8394 GB, free: 10.28 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001414/1.401, allocations: 27.89 kB / 0.8394 GB, free: 10.25 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.233/1.634, allocations: 23.04 MB / 0.8619 GB, free: 183 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.774e-05/1.634, allocations: 0 / 0.8619 GB, free: 183 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004417/1.638, allocations: 0.9585 MB / 0.8628 GB, free: 182.9 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007616/1.646, allocations: 2.601 MB / 0.8654 GB, free: 182.9 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00091/1.647, allocations: 122 kB / 0.8655 GB, free: 182.8 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02506/1.672, allocations: 20.31 MB / 0.8853 GB, free: 172.1 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.672, allocations: 0 / 0.8853 GB, free: 172.1 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02131/1.693, allocations: 15.18 MB / 0.9001 GB, free: 165.9 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003001/1.696, allocations: 1.324 MB / 0.9014 GB, free: 165.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009651/1.697, allocations: 110 kB / 0.9015 GB, free: 165.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003092/1.7, allocations: 287 kB / 0.9018 GB, free: 165.2 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001137/1.702, allocations: 415.1 kB / 0.9022 GB, free: 165.2 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003489/1.702, allocations: 169.9 kB / 0.9024 GB, free: 165.1 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.00388/1.706, allocations: 2.81 MB / 0.9051 GB, free: 164.1 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.1e-07/1.706, allocations: 3.969 kB / 0.9051 GB, free: 164.1 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007425/1.713, allocations: 2.15 MB / 0.9072 GB, free: 163.8 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (vSourceQS.plug_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 (511): * Single equations (assignments): 508 * 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,50,41.3%), (14,56,37.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01964/1.733, allocations: 15.97 MB / 0.9228 GB, free: 148.4 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01466/1.747, allocations: 10.33 MB / 0.9329 GB, free: 138.1 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/1.748, allocations: 0 / 0.9329 GB, free: 138.1 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.00866/1.756, allocations: 5.238 MB / 0.938 GB, free: 132.8 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00537/1.762, allocations: 1.157 MB / 0.9392 GB, free: 131.7 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09552/1.857, allocations: 70.52 MB / 1.008 GB, free: 58.37 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007044/1.864, allocations: 7.196 MB / 1.015 GB, free: 51.13 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005455/1.87, allocations: 2.339 MB / 1.017 GB, free: 48.79 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005535/1.875, allocations: 3.948 MB / 1.021 GB, free: 44.84 MB / 0.5607 GB Notification: Performance of SimCode: time 1.412e-06/1.875, allocations: 0 / 1.021 GB, free: 44.84 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4381/2.313, allocations: 168.3 MB / 1.186 GB, free: 81.79 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.29/23.6, allocations: 15.89 kB / 1.186 GB, free: 81.78 MB / 0.5607 GB " [Timeout remaining time 636] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_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_IMS_Characteristics.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 27.27770778798731]