Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001973/0.001973, allocations: 116.4 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002563/0.002563, allocations: 215.1 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 230.5 MB / 257.4 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_trunk_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_trunk_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.002029/0.002029, allocations: 59.91 kB / 377.8 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2486, allocations: 53.42 MB / 431.2 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.031/0.2796, allocations: 27.16 MB / 458.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01839/0.298, allocations: 8.207 MB / 466.6 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005541/0.3035, allocations: 238.8 kB / 466.8 MB, free: 2.93 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0217/0.3252, allocations: 9.507 MB / 476.3 MB, free: 9.402 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01097/0.3362, allocations: 3.45 MB / 479.8 MB, free: 5.941 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005825/0.342, allocations: 1.868 MB / 481.7 MB, free: 4.086 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02034/0.3624, allocations: 12.37 MB / 494 MB, free: 7.668 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02991/0.3923, allocations: 16.03 MB / 0.4981 GB, free: 7.445 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01024/0.4025, allocations: 6.624 MB / 0.5046 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0128/0.4153, allocations: 7.312 MB / 0.5117 GB, free: 9.469 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00546/0.4208, allocations: 1.84 MB / 0.5135 GB, free: 7.629 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008492/0.4293, allocations: 2.23 MB / 0.5157 GB, free: 5.398 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006698/0.436, allocations: 3.616 MB / 0.5192 GB, free: 1.773 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01302/0.449, allocations: 6.93 MB / 0.526 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.305/0.754, allocations: 24.81 MB / 0.5502 GB, free: 43.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.754, allocations: 0 / 0.5502 GB, free: 43.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.754, allocations: 5.391 kB / 0.5502 GB, free: 43.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008752/0.7548, allocations: 0 / 0.5502 GB, free: 43.48 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.04895/0.8038, allocations: 14.69 MB / 0.5646 GB, free: 37.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.97e-05/0.8039, allocations: 13.67 kB / 0.5646 GB, free: 37.12 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008422/0.8123, allocations: 1.783 MB / 0.5663 GB, free: 36.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04611/0.8584, allocations: 8.441 MB / 0.5746 GB, free: 33.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01847/0.8769, allocations: 7.767 MB / 0.5821 GB, free: 28.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008485/0.8777, allocations: 0.8058 MB / 0.5829 GB, free: 27.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005647/0.8834, allocations: 1.057 MB / 0.584 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04697/0.9303, allocations: 18.34 MB / 0.6019 GB, free: 8.895 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006316/0.931, allocations: 19.91 kB / 0.6019 GB, free: 8.875 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006357/0.9373, allocations: 449.1 kB / 0.6023 GB, free: 8.453 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007255/0.938, allocations: 0.6708 MB / 0.603 GB, free: 7.785 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04219/0.9802, allocations: 17.59 MB / 0.6202 GB, free: 6.184 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1223/1.102, allocations: 56.92 MB / 0.6757 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02516/1.128, allocations: 12.81 MB / 0.6882 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00718/1.135, allocations: 3.744 MB / 0.6919 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006444/1.135, allocations: 164.1 kB / 0.6921 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001139/1.136, allocations: 82.62 kB / 0.6921 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=518): time 8.867e-06/1.136, allocations: 0 / 0.6921 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=524): time 0.05432/1.19, allocations: 21.46 MB / 0.7131 GB, free: 8.805 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.757e-05/1.19, allocations: 103.5 kB / 0.7132 GB, free: 8.688 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007026/1.197, allocations: 4.187 MB / 0.7173 GB, free: 4.473 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008712/1.198, allocations: 113.7 kB / 0.7174 GB, free: 4.355 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003431/1.201, allocations: 4.661 MB / 0.7219 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002156/1.204, allocations: 1.874 MB / 0.7238 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002102/1.206, allocations: 1.371 MB / 0.7251 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001201/1.206, allocations: 301.1 kB / 0.7254 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005523/1.211, allocations: 3.449 MB / 0.7288 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007564/1.219, allocations: 5.893 MB / 0.7345 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01482/1.234, allocations: 10.04 MB / 0.7443 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.229e-05/1.234, allocations: 20 kB / 0.7444 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.2892/1.523, allocations: 10.95 MB / 0.755 GB, free: 202 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.395e-05/1.523, allocations: 39.38 kB / 0.7551 GB, free: 202 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001646/1.523, allocations: 75.95 kB / 0.7552 GB, free: 202 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003834/1.527, allocations: 1.449 MB / 0.7566 GB, free: 202 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006406/1.533, allocations: 1.618 MB / 0.7582 GB, free: 202 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01613/1.55, allocations: 11.41 MB / 0.7693 GB, free: 198 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005824/1.555, allocations: 405.9 kB / 0.7697 GB, free: 197.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001534/1.557, allocations: 338.8 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.008674/1.566, allocations: 4.173 MB / 0.7741 GB, free: 196 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001383/1.567, allocations: 0.4901 MB / 0.7746 GB, free: 196 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01484/1.582, allocations: 8.435 MB / 0.7828 GB, free: 192.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0118/1.594, allocations: 7.073 MB / 0.7897 GB, free: 189.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.523e-05/1.594, allocations: 14.12 kB / 0.7897 GB, free: 189.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-05/1.594, allocations: 26.34 kB / 0.7897 GB, free: 189.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03494/1.629, allocations: 18.82 MB / 0.8081 GB, free: 174.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.919e-05/1.629, allocations: 4 kB / 0.8081 GB, free: 174.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003446/1.632, allocations: 0.952 MB / 0.809 GB, free: 174 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003391/1.635, allocations: 1.296 MB / 0.8103 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000414/1.636, allocations: 116 kB / 0.8104 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01281/1.649, allocations: 10.1 MB / 0.8203 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.649, allocations: 0 / 0.8203 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01707/1.666, allocations: 12.29 MB / 0.8323 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003473/1.669, allocations: 1.133 MB / 0.8334 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008424/1.67, allocations: 93.97 kB / 0.8335 GB, free: 149 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00243/1.673, allocations: 267.8 kB / 0.8337 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007311/1.673, allocations: 380.2 kB / 0.8341 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002895/1.674, allocations: 156 kB / 0.8343 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004074/1.678, allocations: 2.819 MB / 0.837 GB, free: 145.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.678, allocations: 1.422 kB / 0.837 GB, free: 145.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007543/1.685, allocations: 1.937 MB / 0.8389 GB, free: 143.4 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.01641/1.702, allocations: 13.04 MB / 0.8516 GB, free: 130.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01302/1.715, allocations: 8.407 MB / 0.8599 GB, free: 121.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.715, allocations: 0 / 0.8599 GB, free: 121.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005952/1.721, allocations: 3.912 MB / 0.8637 GB, free: 117.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005308/1.726, allocations: 1.129 MB / 0.8648 GB, free: 116.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1109/1.837, allocations: 64.13 MB / 0.9274 GB, free: 49.64 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01062/1.847, allocations: 7.009 MB / 0.9342 GB, free: 42.58 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006281/1.854, allocations: 2.313 MB / 0.9365 GB, free: 40.26 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006394/1.86, allocations: 3.897 MB / 0.9403 GB, free: 36.36 MB / 0.5762 GB Notification: Performance of SimCode: time 1.262e-06/1.86, allocations: 0 / 0.9403 GB, free: 36.36 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5109/2.371, allocations: 157 MB / 1.094 GB, free: 115.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.18/26.55, allocations: 8.047 kB / 1.094 GB, free: 115.1 MB / 0.5762 GB " [Timeout remaining time 633] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 29.798173205927014]