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.004933/0.004933, allocations: 114.5 kB / 21.97 MB, free: 5.227 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.00134/0.00134, allocations: 214.9 kB / 25.28 MB, free: 3.246 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.291/1.291, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 179] 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="cs",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="cs",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.001692/0.001692, allocations: 47.94 kB / 348 MB, free: 9.996 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2315, allocations: 49.16 MB / 397.2 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.0267/0.2582, allocations: 27.24 MB / 424.4 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01692/0.2751, allocations: 8.049 MB / 432.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00544/0.2806, allocations: 202.3 kB / 432.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02168/0.3023, allocations: 9.505 MB / 442.2 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01284/0.3151, allocations: 3.49 MB / 445.7 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006134/0.3212, allocations: 1.9 MB / 447.6 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0178/0.339, allocations: 12.42 MB / 460 MB, free: 4.301 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02928/0.3683, allocations: 16.07 MB / 476 MB, free: 4.035 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01087/0.3792, allocations: 6.706 MB / 482.7 MB, free: 13.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0126/0.3918, allocations: 7.367 MB / 490.1 MB, free: 5.922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00483/0.3966, allocations: 1.848 MB / 492 MB, free: 4.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006196/0.4028, allocations: 2.226 MB / 494.2 MB, free: 1.848 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005278/0.4081, allocations: 3.686 MB / 497.9 MB, free: 14.15 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01138/0.4195, allocations: 7.004 MB / 0.493 GB, free: 7.121 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03077/0.4502, allocations: 24.83 MB / 0.5173 GB, free: 14.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4503, allocations: 0 / 0.5173 GB, free: 14.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4503, allocations: 0 / 0.5173 GB, free: 14.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000525/0.4508, allocations: 4 kB / 0.5173 GB, free: 14.21 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.04214/0.4929, allocations: 14.84 MB / 0.5318 GB, free: 15.27 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.164e-05/0.493, allocations: 11.98 kB / 0.5318 GB, free: 15.26 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003768/0.4934, allocations: 348.5 kB / 0.5321 GB, free: 14.92 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00783/0.5012, allocations: 1.813 MB / 0.5339 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05102/0.5522, allocations: 9.535 MB / 0.5432 GB, free: 3.539 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01641/0.5686, allocations: 6.982 MB / 0.55 GB, free: 12.47 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009674/0.5696, allocations: 0.8188 MB / 0.5508 GB, free: 11.65 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005507/0.5751, allocations: 1.074 MB / 0.5519 GB, free: 10.57 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4009/0.976, allocations: 18.75 MB / 0.5702 GB, free: 124 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003422/0.9764, allocations: 14.42 kB / 0.5702 GB, free: 124 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003289/0.9797, allocations: 457.1 kB / 0.5706 GB, free: 123.7 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008908/0.9805, allocations: 0.7091 MB / 0.5713 GB, free: 123.6 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03862/1.019, allocations: 18.22 MB / 0.5891 GB, free: 116.9 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09267/1.112, allocations: 57.87 MB / 0.6456 GB, free: 65.04 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02277/1.135, allocations: 14.79 MB / 0.6601 GB, free: 53.01 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005629/1.14, allocations: 3.907 MB / 0.6639 GB, free: 49.08 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01997/1.16, allocations: 12.16 MB / 0.6758 GB, free: 37.11 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.565e-05/1.16, allocations: 73.59 kB / 0.6758 GB, free: 37.03 MB / 478.1 MB Notification: Performance of pre-optimization done (n=387): time 6.342e-06/1.16, allocations: 0 / 0.6758 GB, free: 37.03 MB / 478.1 MB Notification: Performance of matching and sorting (n=466): time 0.06143/1.222, allocations: 30.48 MB / 0.7056 GB, free: 6.93 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/1.222, allocations: 99.06 kB / 0.7057 GB, free: 6.82 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006135/1.228, allocations: 4.345 MB / 0.7099 GB, free: 2.484 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006577/1.229, allocations: 97.7 kB / 0.71 GB, free: 2.383 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003142/1.232, allocations: 5.005 MB / 0.7149 GB, free: 13.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002085/1.234, allocations: 1.673 MB / 0.7166 GB, free: 11.65 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003264/1.237, allocations: 1.378 MB / 0.7179 GB, free: 10.26 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/1.237, allocations: 309.1 kB / 0.7182 GB, free: 9.957 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006602/1.244, allocations: 3.594 MB / 0.7217 GB, free: 6.359 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009472/1.253, allocations: 6.255 MB / 0.7278 GB, free: 14.88 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01699/1.27, allocations: 10.54 MB / 0.7381 GB, free: 3.121 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.824e-05/1.27, allocations: 24 kB / 0.7381 GB, free: 3.098 MB / 0.4982 GB Notification: Performance of matching and sorting (n=897) (initialization): time 0.0254/1.296, allocations: 12.42 MB / 0.7503 GB, free: 6.66 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 9.464e-05/1.296, allocations: 44 kB / 0.7503 GB, free: 6.617 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001362/1.296, allocations: 88.38 kB / 0.7504 GB, free: 6.531 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008437/1.304, allocations: 2.911 MB / 0.7532 GB, free: 3.609 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005879/1.31, allocations: 1.474 MB / 0.7547 GB, free: 2.133 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2242/1.534, allocations: 23.88 MB / 0.778 GB, free: 170.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005953/1.54, allocations: 418.2 kB / 0.7784 GB, free: 170.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001648/1.542, allocations: 353.1 kB / 0.7787 GB, free: 170.4 MB / 0.5294 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 (758): * Single equations (assignments): 755 * 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,56,41.3%), (14,56,39.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007434/1.55, allocations: 4.263 MB / 0.7829 GB, free: 168.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001334/1.551, allocations: 499.2 kB / 0.7834 GB, free: 168.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0161/1.567, allocations: 9.531 MB / 0.7927 GB, free: 165.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01146/1.578, allocations: 8.055 MB / 0.8005 GB, free: 162.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.473e-05/1.578, allocations: 23.34 kB / 0.8006 GB, free: 162.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.116e-05/1.578, allocations: 26.48 kB / 0.8006 GB, free: 162.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02745/1.606, allocations: 19.93 MB / 0.8201 GB, free: 154.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/1.606, allocations: 0 / 0.8201 GB, free: 154.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002831/1.609, allocations: 0.749 MB / 0.8208 GB, free: 154.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006032/1.615, allocations: 2.597 MB / 0.8233 GB, free: 153.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004816/1.615, allocations: 101.1 kB / 0.8234 GB, free: 153.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02186/1.637, allocations: 20.1 MB / 0.8431 GB, free: 134.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.637, allocations: 7.312 kB / 0.8431 GB, free: 134.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01708/1.654, allocations: 13.43 MB / 0.8562 GB, free: 121.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002708/1.657, allocations: 1.16 MB / 0.8573 GB, free: 120.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006611/1.658, allocations: 79.94 kB / 0.8574 GB, free: 120.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0024/1.66, allocations: 266.6 kB / 0.8576 GB, free: 120.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007766/1.661, allocations: 364.6 kB / 0.858 GB, free: 119.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002647/1.661, allocations: 128 kB / 0.8581 GB, free: 119.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00316/1.664, allocations: 2.908 MB / 0.8609 GB, free: 116.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/1.664, allocations: 0 / 0.8609 GB, free: 116.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005634/1.67, allocations: 2.053 MB / 0.863 GB, free: 114.6 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (vSourceQS.plug_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 (372): * Single equations (assignments): 369 * 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,50,39.8%), (14,56,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01637/1.686, allocations: 14.17 MB / 0.8768 GB, free: 100.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01321/1.699, allocations: 9.518 MB / 0.8861 GB, free: 90.89 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/1.699, allocations: 5.812 kB / 0.8861 GB, free: 90.89 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007743/1.707, allocations: 4.707 MB / 0.8907 GB, free: 86.17 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005056/1.712, allocations: 1.106 MB / 0.8918 GB, free: 85.07 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08703/1.799, allocations: 68.57 MB / 0.9587 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006059/1.805, allocations: 7.212 MB / 0.9658 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004745/1.81, allocations: 2.274 MB / 0.968 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.188/1.998, allocations: 3.943 MB / 0.9718 GB, free: 166 MB / 0.5294 GB Notification: Performance of SimCode: time 1.493e-06/1.998, allocations: 2.344 kB / 0.9718 GB, free: 166 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2018/2.2, allocations: 166 MB / 1.134 GB, free: 29.83 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.08/24.28, allocations: 20.05 kB / 1.134 GB, free: 29.81 MB / 0.5294 GB " [Timeout remaining time 635] (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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 27.84264730795985]