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.IMC_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.001587/0.001587, 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.001753/0.001753, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.561/1.561, 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.IMC_Characteristics,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_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.001978/0.001978, allocations: 51.94 kB / 347.2 MB, free: 10.09 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3045, allocations: 49.16 MB / 396.4 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02614/0.3307, allocations: 25.05 MB / 421.4 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01901/0.3497, allocations: 7.392 MB / 428.8 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006942/0.3566, allocations: 192.4 kB / 429 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02304/0.3797, allocations: 8.917 MB / 437.9 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0119/0.3916, allocations: 3.094 MB / 441 MB, free: 6.551 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006244/0.3978, allocations: 1.786 MB / 442.8 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01763/0.4154, allocations: 10.98 MB / 453.8 MB, free: 9.738 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0323/0.4477, allocations: 14.41 MB / 468.2 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01211/0.4598, allocations: 5.935 MB / 474.1 MB, free: 5.234 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01454/0.4744, allocations: 6.444 MB / 480.6 MB, free: 14.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005917/0.4803, allocations: 1.68 MB / 482.3 MB, free: 13.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008576/0.4889, allocations: 2.058 MB / 484.3 MB, free: 11.03 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006644/0.4955, allocations: 3.227 MB / 487.5 MB, free: 7.797 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01441/0.5099, allocations: 6.176 MB / 493.7 MB, free: 1.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03435/0.5443, allocations: 22.43 MB / 0.5041 GB, free: 11.1 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.5443, allocations: 0 / 0.5041 GB, free: 11.1 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5443, allocations: 0 / 0.5041 GB, free: 11.1 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006043/0.5449, allocations: 0 / 0.5041 GB, free: 11.1 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.04343/0.5883, allocations: 13.05 MB / 0.5168 GB, free: 13.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.921e-05/0.5884, allocations: 15.98 kB / 0.5168 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006785/0.5952, allocations: 1.585 MB / 0.5184 GB, free: 12.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04089/0.6361, allocations: 7.231 MB / 0.5254 GB, free: 5.105 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01663/0.6527, allocations: 6.243 MB / 0.5315 GB, free: 14.8 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008987/0.6536, allocations: 0.7105 MB / 0.5322 GB, free: 14.09 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004392/0.658, allocations: 0.9413 MB / 0.5331 GB, free: 13.14 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04231/0.7003, allocations: 16.2 MB / 0.5489 GB, free: 12.88 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002759/0.7006, allocations: 19.89 kB / 0.549 GB, free: 12.86 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002397/0.703, allocations: 400 kB / 0.5493 GB, free: 12.47 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006588/0.7036, allocations: 0.5825 MB / 0.5499 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4241/1.128, allocations: 15.46 MB / 0.565 GB, free: 129.3 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07515/1.203, allocations: 50.84 MB / 0.6147 GB, free: 96.48 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01774/1.221, allocations: 11.08 MB / 0.6255 GB, free: 89.64 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004086/1.225, allocations: 3.082 MB / 0.6285 GB, free: 86.54 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0134/1.238, allocations: 9.822 MB / 0.6381 GB, free: 76.93 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/1.238, allocations: 68.83 kB / 0.6381 GB, free: 76.85 MB / 478.1 MB Notification: Performance of pre-optimization done (n=297): time 4.629e-06/1.238, allocations: 0 / 0.6381 GB, free: 76.85 MB / 478.1 MB Notification: Performance of matching and sorting (n=303): time 0.02944/1.268, allocations: 15.28 MB / 0.6531 GB, free: 61.87 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/1.268, allocations: 81.78 kB / 0.6531 GB, free: 61.78 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00456/1.272, allocations: 3.864 MB / 0.6569 GB, free: 57.98 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003755/1.273, allocations: 73.7 kB / 0.657 GB, free: 57.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001605/1.274, allocations: 4.412 MB / 0.6613 GB, free: 53.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007401/1.275, allocations: 1.11 MB / 0.6624 GB, free: 52.41 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001249/1.276, allocations: 1.1 MB / 0.6635 GB, free: 51.3 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.881e-05/1.276, allocations: 313 kB / 0.6638 GB, free: 50.99 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002974/1.279, allocations: 2.548 MB / 0.6662 GB, free: 48.44 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003655/1.283, allocations: 4.909 MB / 0.671 GB, free: 42.4 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006997/1.29, allocations: 7.953 MB / 0.6788 GB, free: 33.31 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-05/1.29, allocations: 24 kB / 0.6788 GB, free: 33.29 MB / 478.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01144/1.301, allocations: 8.627 MB / 0.6873 GB, free: 24.62 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.885e-05/1.301, allocations: 40 kB / 0.6873 GB, free: 24.58 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.003e-05/1.301, allocations: 76 kB / 0.6874 GB, free: 24.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002859/1.304, allocations: 1.244 MB / 0.6886 GB, free: 23.25 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003758/1.308, allocations: 1.232 MB / 0.6898 GB, free: 22.02 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0121/1.32, allocations: 9.847 MB / 0.6994 GB, free: 12.05 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004176/1.324, allocations: 335.5 kB / 0.6997 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007294/1.325, allocations: 284 kB / 0.7 GB, free: 11.45 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (638): * Single equations (assignments): 636 * 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,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004948/1.33, allocations: 3.728 MB / 0.7036 GB, free: 7.707 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007923/1.331, allocations: 405.5 kB / 0.704 GB, free: 7.309 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008617/1.339, allocations: 5.768 MB / 0.7097 GB, free: 1.492 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007747/1.347, allocations: 4.739 MB / 0.7143 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-05/1.347, allocations: 8 kB / 0.7143 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.301e-05/1.347, allocations: 19.94 kB / 0.7143 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02625/1.373, allocations: 13.69 MB / 0.7277 GB, free: 14.88 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.805e-05/1.373, allocations: 8.031 kB / 0.7277 GB, free: 14.87 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002435/1.376, allocations: 0.5539 MB / 0.7282 GB, free: 14.31 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003244/1.379, allocations: 1.111 MB / 0.7293 GB, free: 13.2 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003054/1.379, allocations: 79.92 kB / 0.7294 GB, free: 13.12 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01435/1.394, allocations: 8.738 MB / 0.7379 GB, free: 4.266 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/1.394, allocations: 7.938 kB / 0.7379 GB, free: 4.258 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01515/1.409, allocations: 8.494 MB / 0.7462 GB, free: 11.64 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002935/1.412, allocations: 0.833 MB / 0.747 GB, free: 10.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007071/1.413, allocations: 63.92 kB / 0.7471 GB, free: 10.74 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002087/1.415, allocations: 179.8 kB / 0.7473 GB, free: 10.56 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006749/1.415, allocations: 234.5 kB / 0.7475 GB, free: 10.33 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002403/1.416, allocations: 99.97 kB / 0.7476 GB, free: 10.23 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.004481/1.42, allocations: 2.585 MB / 0.7501 GB, free: 7.664 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.5e-07/1.42, allocations: 0 / 0.7501 GB, free: 7.664 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.006102/1.426, allocations: 1.551 MB / 0.7516 GB, free: 6.113 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (imcQS.rotorCage.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 (282): * Single equations (assignments): 280 * 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,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.2192/1.645, allocations: 9.176 MB / 0.7606 GB, free: 166.6 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01118/1.657, allocations: 6.268 MB / 0.7667 GB, free: 164.9 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/1.657, allocations: 4 kB / 0.7667 GB, free: 164.9 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005253/1.662, allocations: 2.759 MB / 0.7694 GB, free: 163.8 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004265/1.666, allocations: 0.9411 MB / 0.7703 GB, free: 163.4 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07824/1.744, allocations: 53.11 MB / 0.8222 GB, free: 125.1 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009099/1.753, allocations: 6.233 MB / 0.8283 GB, free: 119.5 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.004827/1.758, allocations: 1.878 MB / 0.8301 GB, free: 117.6 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00404/1.762, allocations: 3.252 MB / 0.8333 GB, free: 114.4 MB / 0.5138 GB Notification: Performance of SimCode: time 1.022e-06/1.762, allocations: 0 / 0.8333 GB, free: 114.4 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3876/2.15, allocations: 126.7 MB / 0.957 GB, free: 144.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.63/22.78, allocations: 6.156 kB / 0.957 GB, free: 144.7 MB / 0.5294 GB " [Timeout remaining time 637] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_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_IMC_Characteristics.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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: 26.031812116038054]