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.001875/0.001875, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.002467/0.002467, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.553/1.553, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.001533/0.001533, allocations: 47.92 kB / 377.8 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2973, allocations: 53.36 MB / 431.2 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03344/0.3307, allocations: 27.17 MB / 458.3 MB, free: 11.58 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02126/0.352, allocations: 8.199 MB / 466.5 MB, free: 3.359 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00699/0.359, allocations: 234.8 kB / 466.8 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02478/0.3837, allocations: 9.516 MB / 476.3 MB, free: 9.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0135/0.3972, allocations: 3.449 MB / 479.7 MB, free: 6.133 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007333/0.4046, allocations: 1.875 MB / 481.6 MB, free: 4.266 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02026/0.4248, allocations: 12.37 MB / 494 MB, free: 7.852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03794/0.4628, allocations: 16.03 MB / 0.4981 GB, free: 7.629 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01382/0.4766, allocations: 6.64 MB / 0.5045 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01736/0.494, allocations: 7.301 MB / 0.5117 GB, free: 9.648 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006097/0.5001, allocations: 1.84 MB / 0.5135 GB, free: 7.809 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008305/0.5084, allocations: 2.242 MB / 0.5157 GB, free: 5.566 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007186/0.5155, allocations: 3.616 MB / 0.5192 GB, free: 1.941 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01654/0.5321, allocations: 6.926 MB / 0.526 GB, free: 10.99 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2808/0.8129, allocations: 24.82 MB / 0.5502 GB, free: 43.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.8129, allocations: 2.734 kB / 0.5502 GB, free: 43.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.8129, allocations: 0 / 0.5502 GB, free: 43.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008239/0.8137, allocations: 0 / 0.5502 GB, free: 43.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.04649/0.8602, allocations: 14.69 MB / 0.5645 GB, free: 37.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.8603, allocations: 7.75 kB / 0.5645 GB, free: 37.25 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006846/0.8671, allocations: 1.788 MB / 0.5663 GB, free: 36.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04512/0.9122, allocations: 8.439 MB / 0.5745 GB, free: 33.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01727/0.9295, allocations: 7.769 MB / 0.5821 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007901/0.9303, allocations: 0.8035 MB / 0.5829 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005231/0.9355, allocations: 1.063 MB / 0.5839 GB, free: 27.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04514/0.9807, allocations: 18.33 MB / 0.6019 GB, free: 9.082 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004764/0.9811, allocations: 19.89 kB / 0.6019 GB, free: 9.062 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004483/0.9856, allocations: 451.4 kB / 0.6023 GB, free: 8.637 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005527/0.9862, allocations: 0.6672 MB / 0.603 GB, free: 7.969 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03823/1.024, allocations: 17.59 MB / 0.6201 GB, free: 6.367 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1138/1.138, allocations: 56.91 MB / 0.6757 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02483/1.163, allocations: 12.83 MB / 0.6882 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007162/1.17, allocations: 3.737 MB / 0.6919 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006267/1.171, allocations: 158.3 kB / 0.692 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.584e-05/1.171, allocations: 82.62 kB / 0.6921 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=518): time 6.843e-06/1.171, allocations: 0 / 0.6921 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=524): time 0.05572/1.227, allocations: 21.46 MB / 0.7131 GB, free: 9.012 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.76e-05/1.227, allocations: 113.8 kB / 0.7132 GB, free: 8.887 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006985/1.234, allocations: 4.187 MB / 0.7173 GB, free: 4.676 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001033/1.235, allocations: 109.7 kB / 0.7174 GB, free: 4.562 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003735/1.238, allocations: 4.676 MB / 0.7219 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00236/1.241, allocations: 1.858 MB / 0.7237 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002508/1.243, allocations: 1.379 MB / 0.7251 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001443/1.243, allocations: 301.1 kB / 0.7254 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006082/1.25, allocations: 3.449 MB / 0.7287 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00877/1.258, allocations: 5.89 MB / 0.7345 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01616/1.274, allocations: 10.04 MB / 0.7443 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.7e-05/1.275, allocations: 24 kB / 0.7443 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.2717/1.546, allocations: 10.95 MB / 0.755 GB, free: 201.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.5e-05/1.546, allocations: 41.25 kB / 0.7551 GB, free: 201.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001313/1.546, allocations: 74.72 kB / 0.7551 GB, free: 201.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003413/1.55, allocations: 1.448 MB / 0.7566 GB, free: 201.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005752/1.556, allocations: 1.624 MB / 0.7581 GB, free: 201.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01505/1.571, allocations: 11.4 MB / 0.7693 GB, free: 198.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005654/1.576, allocations: 407.5 kB / 0.7697 GB, free: 198 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001265/1.578, allocations: 335.5 kB / 0.77 GB, free: 197.9 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.007169/1.585, allocations: 4.165 MB / 0.774 GB, free: 196 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001371/1.586, allocations: 0.4915 MB / 0.7745 GB, free: 196 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01287/1.599, allocations: 8.437 MB / 0.7828 GB, free: 192.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009831/1.609, allocations: 7.077 MB / 0.7897 GB, free: 189.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.458e-05/1.609, allocations: 17.75 kB / 0.7897 GB, free: 189.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-05/1.609, allocations: 26.62 kB / 0.7897 GB, free: 189.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03131/1.64, allocations: 18.81 MB / 0.8081 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-05/1.64, allocations: 4.219 kB / 0.8081 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003497/1.644, allocations: 0.944 MB / 0.809 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003261/1.647, allocations: 1.299 MB / 0.8103 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007304/1.648, allocations: 116 kB / 0.8104 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01213/1.66, allocations: 10.1 MB / 0.8203 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.66, allocations: 0 / 0.8203 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0171/1.677, allocations: 12.3 MB / 0.8323 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003697/1.681, allocations: 1.133 MB / 0.8334 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001214/1.682, allocations: 94.34 kB / 0.8335 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002807/1.685, allocations: 271.8 kB / 0.8337 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007269/1.685, allocations: 372.2 kB / 0.8341 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003168/1.686, allocations: 156 kB / 0.8342 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004544/1.69, allocations: 2.815 MB / 0.837 GB, free: 145.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/1.69, allocations: 4 kB / 0.837 GB, free: 145.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008304/1.699, 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.01807/1.717, allocations: 13.05 MB / 0.8516 GB, free: 130.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01362/1.73, allocations: 8.41 MB / 0.8598 GB, free: 122.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/1.73, allocations: 4 kB / 0.8598 GB, free: 122.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006895/1.737, allocations: 3.908 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.006279/1.743, allocations: 1.141 MB / 0.8648 GB, free: 117.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1006/1.844, allocations: 64.13 MB / 0.9274 GB, free: 50.01 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007613/1.852, allocations: 7.005 MB / 0.9342 GB, free: 42.96 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005711/1.857, allocations: 2.317 MB / 0.9365 GB, free: 40.64 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005552/1.863, allocations: 3.889 MB / 0.9403 GB, free: 36.75 MB / 0.5762 GB Notification: Performance of SimCode: time 1.883e-06/1.863, allocations: 0 / 0.9403 GB, free: 36.75 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4438/2.307, allocations: 157 MB / 1.094 GB, free: 115.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.3/27.61, allocations: 11.98 kB / 1.094 GB, free: 115.9 MB / 0.5762 GB " [Timeout remaining time 632] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat --tempDir=temp_Modelica_4_1_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_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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 31.141578756971285]