Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00144/0.00144, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.001702/0.001702, allocations: 216.7 kB / 24.49 MB, free: 4.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_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_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 52.25 kB / 347.2 MB, free: 10 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3507, allocations: 49.16 MB / 396.4 MB, free: 8.996 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03442/0.3851, allocations: 27.23 MB / 423.6 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02427/0.4094, allocations: 8.052 MB / 431.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008537/0.4179, allocations: 198 kB / 431.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0254/0.4433, allocations: 9.506 MB / 441.4 MB, free: 6.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01714/0.4605, allocations: 3.494 MB / 444.9 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007484/0.4679, allocations: 1.892 MB / 446.8 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01986/0.4878, allocations: 12.41 MB / 459.2 MB, free: 4.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0293/0.5171, allocations: 16.07 MB / 475.2 MB, free: 4.051 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01419/0.5313, allocations: 6.702 MB / 481.9 MB, free: 13.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01699/0.5483, allocations: 7.374 MB / 489.3 MB, free: 5.934 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007557/0.5559, allocations: 1.848 MB / 491.2 MB, free: 4.086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01084/0.5667, allocations: 2.226 MB / 493.4 MB, free: 1.859 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008367/0.5751, allocations: 3.682 MB / 497.1 MB, free: 14.17 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01901/0.5941, allocations: 7.004 MB / 0.4923 GB, free: 7.137 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03944/0.6335, allocations: 24.82 MB / 0.5165 GB, free: 14.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.6335, allocations: 0 / 0.5165 GB, free: 14.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6335, allocations: 0 / 0.5165 GB, free: 14.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000871/0.6344, allocations: 4 kB / 0.5165 GB, free: 14.23 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: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.05488/0.6893, allocations: 14.85 MB / 0.531 GB, free: 15.29 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.544e-05/0.6893, allocations: 15.97 kB / 0.531 GB, free: 15.27 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00872/0.6981, allocations: 1.821 MB / 0.5328 GB, free: 13.44 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05419/0.7522, allocations: 9.524 MB / 0.5421 GB, free: 3.895 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01901/0.7713, allocations: 6.982 MB / 0.5489 GB, free: 12.82 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008628/0.7721, allocations: 0.8188 MB / 0.5497 GB, free: 12 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004648/0.7768, allocations: 1.074 MB / 0.5508 GB, free: 10.93 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5509/1.328, allocations: 18.75 MB / 0.5691 GB, free: 123.7 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000401/1.328, allocations: 14.5 kB / 0.5691 GB, free: 123.7 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003836/1.332, allocations: 460.2 kB / 0.5695 GB, free: 123.4 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008228/1.333, allocations: 0.7046 MB / 0.5702 GB, free: 123.3 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04488/1.378, allocations: 18.22 MB / 0.588 GB, free: 116.6 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1089/1.487, allocations: 57.86 MB / 0.6445 GB, free: 65.48 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0238/1.51, allocations: 14.79 MB / 0.659 GB, free: 53.46 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006148/1.516, allocations: 3.9 MB / 0.6628 GB, free: 49.53 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02412/1.541, allocations: 12.15 MB / 0.6746 GB, free: 37.63 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.703e-05/1.541, allocations: 73.58 kB / 0.6747 GB, free: 37.55 MB / 478.1 MB Notification: Performance of pre-optimization done (n=385): time 9.588e-06/1.541, allocations: 0 / 0.6747 GB, free: 37.55 MB / 478.1 MB Notification: Performance of matching and sorting (n=391): time 0.04848/1.589, allocations: 19.26 MB / 0.6935 GB, free: 18.69 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/1.589, allocations: 94.47 kB / 0.6936 GB, free: 18.59 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009548/1.599, allocations: 4.345 MB / 0.6978 GB, free: 14.28 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009916/1.6, allocations: 89.7 kB / 0.6979 GB, free: 14.19 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003117/1.603, allocations: 5.002 MB / 0.7028 GB, free: 9.168 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001932/1.605, allocations: 1.418 MB / 0.7042 GB, free: 7.738 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004175/1.609, allocations: 1.275 MB / 0.7054 GB, free: 6.453 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.777e-05/1.609, allocations: 301.1 kB / 0.7057 GB, free: 6.156 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005239/1.614, allocations: 3.128 MB / 0.7088 GB, free: 3.023 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008466/1.623, allocations: 5.74 MB / 0.7144 GB, free: 12.06 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0149/1.638, allocations: 9.45 MB / 0.7236 GB, free: 1.367 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001022/1.638, allocations: 27.94 kB / 0.7236 GB, free: 1.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.02367/1.661, allocations: 10.26 MB / 0.7337 GB, free: 7.055 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001701/1.662, allocations: 44.62 kB / 0.7337 GB, free: 7.012 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003031/1.662, allocations: 88 kB / 0.7338 GB, free: 6.926 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004611/1.667, allocations: 1.448 MB / 0.7352 GB, free: 5.473 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00626/1.673, allocations: 1.466 MB / 0.7366 GB, free: 4.004 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0221/1.695, allocations: 11.36 MB / 0.7477 GB, free: 8.516 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006606/1.701, allocations: 411.5 kB / 0.7481 GB, free: 8.113 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001675/1.703, allocations: 328 kB / 0.7484 GB, free: 7.793 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (752): * Single equations (assignments): 750 * 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.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01105/1.714, allocations: 4.184 MB / 0.7525 GB, free: 3.594 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002057/1.716, allocations: 469 kB / 0.753 GB, free: 3.133 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01907/1.735, allocations: 7.301 MB / 0.7601 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01191/1.747, allocations: 6 MB / 0.766 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.106e-05/1.747, allocations: 12 kB / 0.766 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.204e-05/1.747, allocations: 23.91 kB / 0.766 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.29/2.037, allocations: 16.36 MB / 0.782 GB, free: 172.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.872e-05/2.037, allocations: 2.562 kB / 0.782 GB, free: 172.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003773/2.041, allocations: 0.7231 MB / 0.7827 GB, free: 172.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004336/2.045, allocations: 1.298 MB / 0.7839 GB, free: 171.9 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008334/2.046, allocations: 88.7 kB / 0.784 GB, free: 171.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01577/2.062, allocations: 10.09 MB / 0.7939 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/2.062, allocations: 3.938 kB / 0.7939 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01692/2.079, allocations: 10.53 MB / 0.8042 GB, free: 162.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003196/2.082, allocations: 1.005 MB / 0.8051 GB, free: 162.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008367/2.083, allocations: 80.75 kB / 0.8052 GB, free: 162 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002417/2.085, allocations: 255.6 kB / 0.8055 GB, free: 162 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006972/2.086, allocations: 287.9 kB / 0.8057 GB, free: 162 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002473/2.086, allocations: 112 kB / 0.8058 GB, free: 161.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00449/2.091, allocations: 2.905 MB / 0.8087 GB, free: 160.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/2.091, allocations: 0 / 0.8087 GB, free: 160.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007865/2.099, allocations: 1.845 MB / 0.8105 GB, free: 160.7 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.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 (360): * Single equations (assignments): 358 * 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.01549/2.114, allocations: 11.22 MB / 0.8214 GB, free: 155.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01221/2.126, allocations: 7.578 MB / 0.8288 GB, free: 148.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/2.126, allocations: 2.062 kB / 0.8288 GB, free: 148.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006319/2.133, allocations: 3.385 MB / 0.8322 GB, free: 145.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006509/2.139, allocations: 1.089 MB / 0.8332 GB, free: 145 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1025/2.242, allocations: 62.12 MB / 0.8939 GB, free: 80.45 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009844/2.252, allocations: 7.032 MB / 0.9008 GB, free: 73.37 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006173/2.258, allocations: 2.244 MB / 0.9029 GB, free: 71.12 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006633/2.264, allocations: 3.873 MB / 0.9067 GB, free: 67.24 MB / 0.5294 GB Notification: Performance of SimCode: time 2.034e-06/2.264, allocations: 0 / 0.9067 GB, free: 67.24 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4931/2.757, allocations: 147.2 MB / 1.05 GB, free: 116.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.6/27.36, allocations: 10.66 kB / 1.05 GB, free: 116.9 MB / 0.5294 GB " [Timeout remaining time 632] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 30.646551771089435]