Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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.001379/0.001379, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001501/0.001501, allocations: 210 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 43.94 kB / 377.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2674, allocations: 53.37 MB / 431.1 MB, free: 6.609 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02956/0.297, allocations: 23.2 MB / 454.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01744/0.3144, allocations: 7.849 MB / 462.2 MB, free: 7.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005593/0.32, allocations: 234.8 kB / 462.4 MB, free: 7.199 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02265/0.3427, allocations: 8.756 MB / 471.2 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01101/0.3537, allocations: 3.38 MB / 474.5 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006008/0.3597, allocations: 1.817 MB / 476.4 MB, free: 9.227 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01712/0.3768, allocations: 12.35 MB / 488.7 MB, free: 12.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02689/0.4037, allocations: 15.84 MB / 0.4927 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01094/0.4147, allocations: 6.64 MB / 0.4992 GB, free: 6.133 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01322/0.4279, allocations: 6.984 MB / 0.506 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005673/0.4336, allocations: 1.836 MB / 0.5078 GB, free: 13.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007553/0.4411, allocations: 2.207 MB / 0.51 GB, free: 11.08 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006693/0.4478, allocations: 3.608 MB / 0.5135 GB, free: 7.465 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01262/0.4604, allocations: 5.362 MB / 0.5187 GB, free: 2.082 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.475/0.9355, allocations: 24.88 MB / 0.543 GB, free: 41.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.19e-05/0.9355, allocations: 1.156 kB / 0.543 GB, free: 41.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.877e-06/0.9355, allocations: 3.75 kB / 0.543 GB, free: 41.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0009702/0.9365, allocations: 0 / 0.543 GB, free: 41.73 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.04465/0.9811, allocations: 14.66 MB / 0.5574 GB, free: 37.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.9811, allocations: 11.91 kB / 0.5574 GB, free: 37.91 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006682/0.9878, allocations: 1.79 MB / 0.5591 GB, free: 37.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04553/1.033, allocations: 8.437 MB / 0.5674 GB, free: 34.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01787/1.051, allocations: 7.81 MB / 0.575 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006592/1.052, allocations: 0.8086 MB / 0.5758 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00543/1.057, allocations: 1.058 MB / 0.5768 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04745/1.105, allocations: 18.54 MB / 0.5949 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006088/1.105, allocations: 19.91 kB / 0.5949 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005129/1.111, allocations: 448 kB / 0.5954 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006441/1.111, allocations: 0.6745 MB / 0.596 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03742/1.149, allocations: 17.48 MB / 0.6131 GB, free: 10.89 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1142/1.263, allocations: 52.12 MB / 0.664 GB, free: 6.648 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0255/1.288, allocations: 12.66 MB / 0.6764 GB, free: 12.07 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007218/1.295, allocations: 3.727 MB / 0.68 GB, free: 8.324 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006281/1.296, allocations: 124 kB / 0.6801 GB, free: 8.199 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001218/1.296, allocations: 90.61 kB / 0.6802 GB, free: 8.098 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 1.107e-05/1.296, allocations: 4 kB / 0.6802 GB, free: 8.094 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.05617/1.352, allocations: 21.26 MB / 0.701 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/1.353, allocations: 111.5 kB / 0.7011 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00807/1.361, allocations: 4.26 MB / 0.7052 GB, free: 14.29 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000944/1.362, allocations: 109.7 kB / 0.7053 GB, free: 14.17 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004005/1.366, allocations: 4.672 MB / 0.7099 GB, free: 9.488 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002971/1.368, allocations: 1.865 MB / 0.7117 GB, free: 7.648 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004242/1.373, allocations: 1.367 MB / 0.7131 GB, free: 6.273 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000146/1.373, allocations: 311.4 kB / 0.7134 GB, free: 5.969 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006369/1.379, allocations: 3.429 MB / 0.7167 GB, free: 2.539 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008836/1.388, allocations: 5.902 MB / 0.7225 GB, free: 11.57 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01569/1.404, allocations: 10.02 MB / 0.7323 GB, free: 0.7109 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.738e-05/1.404, allocations: 20 kB / 0.7323 GB, free: 0.6914 MB / 0.5607 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.0236/1.427, allocations: 10.9 MB / 0.7429 GB, free: 6.203 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001148/1.428, allocations: 38.03 kB / 0.743 GB, free: 6.168 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001596/1.428, allocations: 80 kB / 0.743 GB, free: 6.09 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003967/1.432, allocations: 1.376 MB / 0.7444 GB, free: 4.715 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006544/1.438, allocations: 1.619 MB / 0.746 GB, free: 3.203 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2434/1.682, allocations: 10.98 MB / 0.7567 GB, free: 204.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00524/1.687, allocations: 403.9 kB / 0.7571 GB, free: 204 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001103/1.688, allocations: 336.9 kB / 0.7574 GB, free: 203.9 MB / 0.5763 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 (840): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007135/1.695, allocations: 4.167 MB / 0.7615 GB, free: 202 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001297/1.696, allocations: 0.4902 MB / 0.7619 GB, free: 202 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01305/1.709, allocations: 8.41 MB / 0.7701 GB, free: 198.7 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009768/1.719, allocations: 7.026 MB / 0.777 GB, free: 196 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.886e-05/1.719, allocations: 10.5 kB / 0.777 GB, free: 196 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.746e-05/1.719, allocations: 26.86 kB / 0.777 GB, free: 196 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02848/1.748, allocations: 17.83 MB / 0.7945 GB, free: 184.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.118e-05/1.748, allocations: 0 / 0.7945 GB, free: 184.6 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004246/1.752, allocations: 0.9487 MB / 0.7954 GB, free: 183.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003226/1.755, allocations: 1.232 MB / 0.7966 GB, free: 182.9 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00101/1.756, allocations: 120.2 kB / 0.7967 GB, free: 182.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01224/1.769, allocations: 9.698 MB / 0.8062 GB, free: 174.3 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/1.769, allocations: 7.359 kB / 0.8062 GB, free: 174.3 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01692/1.785, allocations: 12.23 MB / 0.8181 GB, free: 162.2 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003445/1.789, allocations: 1.121 MB / 0.8192 GB, free: 161.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001006/1.79, allocations: 96 kB / 0.8193 GB, free: 161.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002739/1.793, allocations: 267.8 kB / 0.8196 GB, free: 160.8 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008392/1.794, allocations: 376.2 kB / 0.8199 GB, free: 160.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003/1.794, allocations: 152 kB / 0.8201 GB, free: 160.3 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.004287/1.798, allocations: 2.772 MB / 0.8228 GB, free: 157.5 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.01e-07/1.798, allocations: 0 / 0.8228 GB, free: 157.5 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.008105/1.806, allocations: 1.92 MB / 0.8247 GB, free: 155.6 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (imsQS.rotor.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 (499): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01604/1.822, allocations: 12.99 MB / 0.8373 GB, free: 142.4 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01141/1.834, allocations: 8.368 MB / 0.8455 GB, free: 134 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/1.834, allocations: 8.125 kB / 0.8455 GB, free: 134 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.005818/1.839, allocations: 3.881 MB / 0.8493 GB, free: 130.1 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005323/1.845, allocations: 1.133 MB / 0.8504 GB, free: 129 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09127/1.936, allocations: 63.56 MB / 0.9125 GB, free: 62.52 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009265/1.945, allocations: 6.586 MB / 0.9189 GB, free: 55.87 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.005793/1.951, allocations: 2.322 MB / 0.9212 GB, free: 53.54 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005411/1.957, allocations: 3.893 MB / 0.925 GB, free: 49.65 MB / 0.5763 GB Notification: Performance of SimCode: time 1.613e-06/1.957, allocations: 0 / 0.925 GB, free: 49.65 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4192/2.376, allocations: 153 MB / 1.074 GB, free: 135.8 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.57/20.94, allocations: 7.078 kB / 1.074 GB, free: 135.8 MB / 0.5763 GB " [Timeout remaining time 639] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable resistor.plug_p.reference.gamma in file Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv. Warning: Get data of variable resistor.plug_p.reference.gamma from file Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv failed! Error: Could not read variable speed.phi in file Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv. Warning: Get data of variable speed.phi from file Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 23.714740017894655]