Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.001417/0.001417, allocations: 120 kB / 18.49 MB, free: 4.566 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.001599/0.001599, allocations: 218.3 kB / 21.46 MB, free: 1.613 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.428/1.428, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.IMC_Characteristics,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 63.91 kB / 373.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1191, allocations: 53.37 MB / 427.1 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.2769/0.3961, allocations: 24.89 MB / 452 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01917/0.4152, allocations: 7.476 MB / 459.5 MB, free: 6.672 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007855/0.4231, allocations: 227.4 kB / 459.7 MB, free: 6.598 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02431/0.4474, allocations: 8.883 MB / 468.6 MB, free: 1.199 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01414/0.4615, allocations: 2.955 MB / 471.5 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006684/0.4682, allocations: 1.736 MB / 473.3 MB, free: 13.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02006/0.4883, allocations: 10.83 MB / 484.1 MB, free: 6.832 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03232/0.5206, allocations: 16.58 MB / 0.4889 GB, free: 7.129 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01288/0.5335, allocations: 5.814 MB / 0.4946 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01345/0.5469, allocations: 6.351 MB / 0.5008 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006301/0.5532, allocations: 1.672 MB / 0.5024 GB, free: 9.258 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009612/0.5628, allocations: 2.05 MB / 0.5044 GB, free: 7.207 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007581/0.5704, allocations: 3.168 MB / 0.5075 GB, free: 4.031 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01563/0.5861, allocations: 6.087 MB / 0.5135 GB, free: 13.92 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03613/0.6222, allocations: 22.4 MB / 0.5354 GB, free: 7.453 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.6222, allocations: 0 / 0.5354 GB, free: 7.453 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6222, allocations: 0 / 0.5354 GB, free: 7.453 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006485/0.6228, allocations: 3.938 kB / 0.5354 GB, free: 7.449 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: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.04851/0.6714, allocations: 12.96 MB / 0.548 GB, free: 10.38 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.586e-05/0.6714, allocations: 16.03 kB / 0.548 GB, free: 10.36 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004885/0.6719, allocations: 284.2 kB / 0.5483 GB, free: 10.08 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007666/0.6796, allocations: 1.548 MB / 0.5498 GB, free: 8.516 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04117/0.7207, allocations: 6.186 MB / 0.5559 GB, free: 2.316 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01901/0.7398, allocations: 6.946 MB / 0.5626 GB, free: 11.31 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009525/0.7407, allocations: 0.7063 MB / 0.5633 GB, free: 10.6 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005086/0.7458, allocations: 0.9218 MB / 0.5642 GB, free: 9.68 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04833/0.7941, allocations: 15.78 MB / 0.5796 GB, free: 9.832 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005098/0.7946, allocations: 15.95 kB / 0.5797 GB, free: 9.816 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003732/0.7984, allocations: 388 kB / 0.58 GB, free: 9.438 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007956/0.7992, allocations: 0.5587 MB / 0.5806 GB, free: 8.875 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04255/0.8417, allocations: 14.82 MB / 0.595 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5753/1.417, allocations: 52.18 MB / 0.646 GB, free: 126 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02234/1.439, allocations: 26.12 MB / 0.6715 GB, free: 103.5 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005038/1.444, allocations: 2.936 MB / 0.6744 GB, free: 102.4 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004169/1.445, allocations: 276.7 kB / 0.6746 GB, free: 102.2 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.063e-05/1.445, allocations: 75.61 kB / 0.6747 GB, free: 102.1 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=400): time 5.921e-06/1.445, allocations: 0 / 0.6747 GB, free: 102.1 MB / 0.5138 GB Notification: Performance of matching and sorting (n=467): time 0.05665/1.501, allocations: 27.12 MB / 0.7012 GB, free: 88.35 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/1.502, allocations: 100.9 kB / 0.7013 GB, free: 88.28 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005062/1.507, allocations: 3.695 MB / 0.7049 GB, free: 86.35 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0009298/1.508, allocations: 101.2 kB / 0.705 GB, free: 86.26 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001793/1.509, allocations: 4.127 MB / 0.709 GB, free: 83.14 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001789/1.511, allocations: 1.66 MB / 0.7106 GB, free: 81.7 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002026/1.513, allocations: 1.239 MB / 0.7119 GB, free: 80.88 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 7.174e-05/1.513, allocations: 309 kB / 0.7121 GB, free: 80.58 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004049/1.517, allocations: 3.198 MB / 0.7153 GB, free: 77.38 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005174/1.522, allocations: 5.397 MB / 0.7205 GB, free: 70.99 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0105/1.533, allocations: 9.25 MB / 0.7296 GB, free: 60.75 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.723e-05/1.533, allocations: 20 kB / 0.7296 GB, free: 60.73 MB / 0.5138 GB Notification: Performance of matching and sorting (n=815) (initialization): time 0.01798/1.551, allocations: 10.96 MB / 0.7403 GB, free: 49.77 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 7.775e-05/1.551, allocations: 36 kB / 0.7403 GB, free: 49.73 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001069/1.551, allocations: 72 kB / 0.7404 GB, free: 49.66 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006303/1.557, allocations: 2.468 MB / 0.7428 GB, free: 47.19 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004987/1.562, allocations: 1.33 MB / 0.7441 GB, free: 45.86 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0257/1.588, allocations: 20.73 MB / 0.7643 GB, free: 24.86 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005147/1.593, allocations: 339.6 kB / 0.7647 GB, free: 24.53 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008945/1.594, allocations: 307.9 kB / 0.765 GB, free: 24.23 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (700): * Single equations (assignments): 697 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(14,44,41.8%), (14,44,39.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00719/1.601, allocations: 3.779 MB / 0.7687 GB, free: 20.43 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001615/1.603, allocations: 445.1 kB / 0.7691 GB, free: 20 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01374/1.617, allocations: 8.582 MB / 0.7775 GB, free: 11.38 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01106/1.628, allocations: 7.357 MB / 0.7846 GB, free: 4.008 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.033e-05/1.628, allocations: 23.98 kB / 0.7847 GB, free: 3.984 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.641e-05/1.628, allocations: 23.91 kB / 0.7847 GB, free: 3.961 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03762/1.666, allocations: 19.08 MB / 0.8033 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-05/1.666, allocations: 4 kB / 0.8033 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003428/1.669, allocations: 0.7495 MB / 0.8041 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00701/1.676, allocations: 2.192 MB / 0.8062 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000839/1.677, allocations: 115.8 kB / 0.8063 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02826/1.705, allocations: 17.41 MB / 0.8233 GB, free: 12.03 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.646e-05/1.705, allocations: 7.938 kB / 0.8233 GB, free: 12.02 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2976/2.003, allocations: 12.34 MB / 0.8354 GB, free: 180.8 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003688/2.006, allocations: 1.092 MB / 0.8364 GB, free: 180.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00133/2.008, allocations: 90.89 kB / 0.8365 GB, free: 180.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002945/2.011, allocations: 212.2 kB / 0.8367 GB, free: 180.7 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009022/2.012, allocations: 346.2 kB / 0.8371 GB, free: 180.7 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003014/2.012, allocations: 142.9 kB / 0.8372 GB, free: 180.7 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004441/2.016, allocations: 2.492 MB / 0.8396 GB, free: 180.5 MB / 0.5607 GB Notification: Performance of sort global known variables: time 9e-08/2.016, allocations: 0 / 0.8396 GB, free: 180.5 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.008229/2.024, allocations: 1.786 MB / 0.8414 GB, free: 180.5 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (imcQS.stator.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 (401): * Single equations (assignments): 398 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(14,38,41.8%), (14,44,39.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02684/2.051, allocations: 13.1 MB / 0.8542 GB, free: 176.7 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.02217/2.074, allocations: 8.543 MB / 0.8625 GB, free: 173.3 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.435e-05/2.074, allocations: 4.844 kB / 0.8625 GB, free: 173.3 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.01114/2.085, allocations: 4.318 MB / 0.8667 GB, free: 171.5 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009795/2.094, allocations: 0.9931 MB / 0.8677 GB, free: 171.2 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.12/2.214, allocations: 59.77 MB / 0.9261 GB, free: 125 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01207/2.227, allocations: 6.335 MB / 0.9323 GB, free: 118.6 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005102/2.232, allocations: 1.934 MB / 0.9341 GB, free: 116.7 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005605/2.237, allocations: 3.366 MB / 0.9374 GB, free: 113.3 MB / 0.5607 GB Notification: Performance of SimCode: time 1.463e-06/2.237, allocations: 0 / 0.9374 GB, free: 113.3 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4412/2.678, allocations: 144.2 MB / 1.078 GB, free: 168.5 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.94/22.62, allocations: 15.39 kB / 1.078 GB, free: 168.5 MB / 0.5607 GB " [Timeout remaining time 637] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.229632978967857]