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.001907/0.001907, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002471/0.002471, allocations: 212.3 kB / 23.74 MB, free: 4.688 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.505/1.505, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.001534/0.001534, allocations: 47.92 kB / 377.8 MB, free: 3.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2633, allocations: 53.37 MB / 431.2 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03364/0.297, allocations: 27.15 MB / 458.3 MB, free: 11.56 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01933/0.3163, allocations: 8.203 MB / 466.5 MB, free: 3.332 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006184/0.3225, allocations: 238.8 kB / 466.8 MB, free: 3.098 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02341/0.3459, allocations: 9.511 MB / 476.3 MB, free: 9.566 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01301/0.3589, allocations: 3.454 MB / 479.7 MB, free: 6.102 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006566/0.3655, allocations: 1.875 MB / 481.6 MB, free: 4.234 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01914/0.3846, allocations: 12.36 MB / 494 MB, free: 7.824 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03211/0.4167, allocations: 16.03 MB / 0.4981 GB, free: 7.602 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01154/0.4283, allocations: 6.64 MB / 0.5045 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01372/0.442, allocations: 7.312 MB / 0.5117 GB, free: 9.609 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006009/0.448, allocations: 1.836 MB / 0.5135 GB, free: 7.773 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008391/0.4564, allocations: 2.23 MB / 0.5157 GB, free: 5.543 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006781/0.4632, allocations: 3.62 MB / 0.5192 GB, free: 1.914 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01387/0.477, allocations: 6.93 MB / 0.526 GB, free: 10.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.296/0.7731, allocations: 24.81 MB / 0.5502 GB, free: 43.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.458e-06/0.7731, allocations: 0 / 0.5502 GB, free: 43.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.7731, allocations: 0 / 0.5502 GB, free: 43.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0009436/0.774, allocations: 3.047 kB / 0.5502 GB, free: 43.64 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.05066/0.8247, allocations: 14.69 MB / 0.5645 GB, free: 37.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.8247, allocations: 9.781 kB / 0.5646 GB, free: 37.29 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007429/0.8322, allocations: 1.783 MB / 0.5663 GB, free: 36.87 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04568/0.8779, allocations: 8.444 MB / 0.5745 GB, free: 33.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01888/0.8967, allocations: 7.771 MB / 0.5821 GB, free: 28.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007659/0.8975, allocations: 0.8047 MB / 0.5829 GB, free: 28.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004778/0.9023, allocations: 1.058 MB / 0.5839 GB, free: 27.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04449/0.9468, allocations: 18.34 MB / 0.6019 GB, free: 9.043 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004157/0.9472, allocations: 15.89 kB / 0.6019 GB, free: 9.027 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004385/0.9516, allocations: 448.9 kB / 0.6023 GB, free: 8.602 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005816/0.9521, allocations: 0.6672 MB / 0.603 GB, free: 7.934 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03909/0.9912, allocations: 17.6 MB / 0.6201 GB, free: 6.328 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1182/1.109, allocations: 56.9 MB / 0.6757 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0251/1.135, allocations: 12.82 MB / 0.6882 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007454/1.142, allocations: 3.745 MB / 0.6919 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005157/1.143, allocations: 157.2 kB / 0.692 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.596e-05/1.143, allocations: 86.61 kB / 0.6921 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=518): time 7.053e-06/1.143, allocations: 4 kB / 0.6921 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=524): time 0.05282/1.195, allocations: 21.46 MB / 0.7131 GB, free: 8.973 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.948e-05/1.196, allocations: 107.5 kB / 0.7132 GB, free: 8.852 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007706/1.203, allocations: 4.183 MB / 0.7173 GB, free: 4.645 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001232/1.204, allocations: 113.7 kB / 0.7174 GB, free: 4.527 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003957/1.208, allocations: 4.673 MB / 0.7219 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.003287/1.212, allocations: 1.867 MB / 0.7238 GB, free: 14 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00338/1.215, allocations: 1.371 MB / 0.7251 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001989/1.215, allocations: 305.1 kB / 0.7254 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00666/1.222, allocations: 3.445 MB / 0.7288 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0101/1.232, allocations: 5.886 MB / 0.7345 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01638/1.248, allocations: 10.04 MB / 0.7443 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.179e-05/1.249, allocations: 24 kB / 0.7443 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.2807/1.529, allocations: 10.96 MB / 0.755 GB, free: 202.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-05/1.529, allocations: 41.78 kB / 0.7551 GB, free: 202.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001423/1.529, allocations: 78.38 kB / 0.7551 GB, free: 202.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003719/1.533, allocations: 1.451 MB / 0.7566 GB, free: 202.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006037/1.539, allocations: 1.617 MB / 0.7581 GB, free: 202.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01487/1.554, allocations: 11.4 MB / 0.7693 GB, free: 198.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005394/1.56, allocations: 411.9 kB / 0.7697 GB, free: 198 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001391/1.561, allocations: 340.1 kB / 0.77 GB, free: 198 MB / 0.5762 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.008006/1.569, allocations: 4.158 MB / 0.7741 GB, free: 196.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001276/1.57, allocations: 0.4884 MB / 0.7745 GB, free: 196.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0133/1.583, allocations: 8.443 MB / 0.7828 GB, free: 192.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01103/1.595, allocations: 7.072 MB / 0.7897 GB, free: 190 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-05/1.595, allocations: 14.88 kB / 0.7897 GB, free: 190 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.561e-05/1.595, allocations: 26.39 kB / 0.7897 GB, free: 190 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03353/1.628, allocations: 18.82 MB / 0.8081 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-05/1.628, allocations: 4 kB / 0.8081 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003702/1.632, allocations: 0.9442 MB / 0.809 GB, free: 174.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003273/1.635, allocations: 1.303 MB / 0.8103 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008126/1.636, allocations: 116 kB / 0.8104 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01231/1.648, allocations: 10.1 MB / 0.8203 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.648, allocations: 4 kB / 0.8203 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01838/1.667, allocations: 12.29 MB / 0.8323 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003878/1.671, allocations: 1.141 MB / 0.8334 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001161/1.672, allocations: 95.98 kB / 0.8335 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002913/1.675, allocations: 267.8 kB / 0.8337 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007619/1.675, allocations: 376.2 kB / 0.8341 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003041/1.676, allocations: 153.3 kB / 0.8342 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004579/1.68, allocations: 2.823 MB / 0.837 GB, free: 145.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.68, allocations: 0 / 0.837 GB, free: 145.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008582/1.689, allocations: 1.934 MB / 0.8389 GB, free: 143.8 MB / 0.5762 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.01875/1.708, allocations: 13.05 MB / 0.8516 GB, free: 130.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01596/1.724, allocations: 8.405 MB / 0.8598 GB, free: 122.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/1.724, allocations: 2 kB / 0.8598 GB, free: 122.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007175/1.731, allocations: 3.905 MB / 0.8637 GB, free: 118.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006143/1.737, allocations: 1.139 MB / 0.8648 GB, free: 117 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1125/1.849, allocations: 64.13 MB / 0.9274 GB, free: 49.98 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009882/1.859, allocations: 7.009 MB / 0.9342 GB, free: 42.93 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005909/1.865, allocations: 2.317 MB / 0.9365 GB, free: 40.61 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006442/1.872, allocations: 3.893 MB / 0.9403 GB, free: 36.71 MB / 0.5762 GB Notification: Performance of SimCode: time 1.814e-06/1.872, allocations: 0 / 0.9403 GB, free: 36.71 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4621/2.334, allocations: 157 MB / 1.094 GB, free: 115.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.08/26.42, allocations: 13.3 kB / 1.094 GB, free: 115.9 MB / 0.5762 GB " [Timeout remaining time 633] (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: 29.180412304998754]