Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001288/0.001288, allocations: 121 kB / 18.5 MB, free: 4.562 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.001279/0.001279, allocations: 213.5 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.4/1.4, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_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_4_1_0_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.00153/0.00153, allocations: 47.94 kB / 373.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1092, allocations: 53.32 MB / 427 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.2525/0.3617, allocations: 24.89 MB / 451.9 MB, free: 12.01 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01728/0.379, allocations: 7.477 MB / 459.4 MB, free: 6.703 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004333/0.3833, allocations: 223.1 kB / 459.6 MB, free: 6.633 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01978/0.4031, allocations: 8.892 MB / 468.5 MB, free: 1.258 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01226/0.4154, allocations: 2.965 MB / 471.5 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006392/0.4218, allocations: 1.737 MB / 473.2 MB, free: 13.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0157/0.4375, allocations: 10.84 MB / 484.1 MB, free: 6.883 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02662/0.4641, allocations: 16.58 MB / 0.4889 GB, free: 7.219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01049/0.4746, allocations: 5.818 MB / 0.4946 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01221/0.4868, allocations: 6.355 MB / 0.5008 GB, free: 11.01 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004768/0.4915, allocations: 1.668 MB / 0.5024 GB, free: 9.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006095/0.4976, allocations: 2.054 MB / 0.5044 GB, free: 7.289 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003263/0.5009, allocations: 3.164 MB / 0.5075 GB, free: 4.117 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008077/0.509, allocations: 6.098 MB / 0.5135 GB, free: 13.99 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02522/0.5342, allocations: 22.39 MB / 0.5353 GB, free: 7.539 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.5342, allocations: 0 / 0.5353 GB, free: 7.539 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5342, allocations: 3.938 kB / 0.5353 GB, free: 7.535 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004279/0.5346, allocations: 0 / 0.5353 GB, free: 7.535 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.03557/0.5702, allocations: 12.97 MB / 0.548 GB, free: 10.46 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.5703, allocations: 12.03 kB / 0.548 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002951/0.5706, allocations: 288.2 kB / 0.5483 GB, free: 10.16 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004108/0.5747, allocations: 1.552 MB / 0.5498 GB, free: 8.594 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03413/0.6088, allocations: 6.182 MB / 0.5558 GB, free: 2.398 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01494/0.6237, allocations: 6.95 MB / 0.5626 GB, free: 11.39 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007415/0.6245, allocations: 0.6985 MB / 0.5633 GB, free: 10.69 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003673/0.6281, allocations: 0.9179 MB / 0.5642 GB, free: 9.773 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03783/0.666, allocations: 15.79 MB / 0.5796 GB, free: 9.914 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003082/0.6663, allocations: 11.94 kB / 0.5796 GB, free: 9.902 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00318/0.6695, allocations: 388 kB / 0.58 GB, free: 9.523 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006304/0.6701, allocations: 0.5509 MB / 0.5805 GB, free: 8.969 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02968/0.6998, allocations: 14.82 MB / 0.595 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4696/1.169, allocations: 52.18 MB / 0.646 GB, free: 125.5 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0189/1.188, allocations: 26.13 MB / 0.6715 GB, free: 103.4 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004165/1.192, allocations: 2.938 MB / 0.6744 GB, free: 102.3 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003445/1.193, allocations: 280.8 kB / 0.6746 GB, free: 102.1 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/1.193, allocations: 72.14 kB / 0.6747 GB, free: 102 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=400): time 6.041e-06/1.193, allocations: 0 / 0.6747 GB, free: 102 MB / 0.5138 GB Notification: Performance of matching and sorting (n=467): time 0.04843/1.241, allocations: 27.1 MB / 0.7012 GB, free: 88.28 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/1.241, allocations: 99.53 kB / 0.7013 GB, free: 88.21 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004167/1.245, allocations: 3.704 MB / 0.7049 GB, free: 86.27 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0002423/1.246, allocations: 103.1 kB / 0.705 GB, free: 86.18 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001588/1.247, allocations: 4.126 MB / 0.709 GB, free: 83.06 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.000795/1.248, allocations: 1.663 MB / 0.7106 GB, free: 81.62 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0015/1.25, allocations: 1.239 MB / 0.7118 GB, free: 80.92 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.273e-05/1.25, allocations: 301.1 kB / 0.7121 GB, free: 80.62 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003532/1.253, allocations: 3.202 MB / 0.7153 GB, free: 77.41 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004225/1.257, allocations: 5.395 MB / 0.7205 GB, free: 71.05 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008332/1.266, allocations: 9.246 MB / 0.7295 GB, free: 60.81 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.47e-05/1.266, allocations: 20 kB / 0.7296 GB, free: 60.79 MB / 0.5138 GB Notification: Performance of matching and sorting (n=815) (initialization): time 0.0148/1.281, allocations: 10.96 MB / 0.7403 GB, free: 49.82 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 4.234e-05/1.281, allocations: 36 kB / 0.7403 GB, free: 49.78 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.919e-05/1.281, allocations: 68 kB / 0.7404 GB, free: 49.71 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006315/1.287, allocations: 2.457 MB / 0.7428 GB, free: 47.25 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003925/1.291, allocations: 1.341 MB / 0.7441 GB, free: 45.91 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02436/1.315, allocations: 20.72 MB / 0.7643 GB, free: 24.92 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004433/1.32, allocations: 351.5 kB / 0.7647 GB, free: 24.58 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005571/1.32, allocations: 307.9 kB / 0.7649 GB, free: 24.28 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.004704/1.325, allocations: 3.784 MB / 0.7686 GB, free: 20.48 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008006/1.326, allocations: 441.2 kB / 0.7691 GB, free: 20.05 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01284/1.339, allocations: 8.585 MB / 0.7774 GB, free: 11.43 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0103/1.349, allocations: 7.353 MB / 0.7846 GB, free: 4.062 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.077e-05/1.349, allocations: 20 kB / 0.7846 GB, free: 4.043 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.589e-05/1.349, allocations: 23.91 kB / 0.7847 GB, free: 4.02 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0318/1.381, allocations: 19.09 MB / 0.8033 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/1.381, allocations: 4 kB / 0.8033 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00287/1.384, allocations: 0.7456 MB / 0.804 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006372/1.39, allocations: 2.196 MB / 0.8062 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003273/1.39, allocations: 111.9 kB / 0.8063 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02674/1.417, allocations: 17.41 MB / 0.8233 GB, free: 12.08 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/1.417, allocations: 7.938 kB / 0.8233 GB, free: 12.07 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2179/1.635, allocations: 12.34 MB / 0.8354 GB, free: 180.2 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002954/1.638, allocations: 1.09 MB / 0.8364 GB, free: 180.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008195/1.639, allocations: 90.97 kB / 0.8365 GB, free: 180.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002377/1.641, allocations: 216.5 kB / 0.8367 GB, free: 180.1 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001019/1.642, allocations: 340.8 kB / 0.837 GB, free: 180.1 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003171/1.642, allocations: 140 kB / 0.8372 GB, free: 180.1 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004196/1.647, allocations: 2.497 MB / 0.8396 GB, free: 180 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1e-07/1.647, allocations: 4.25 kB / 0.8396 GB, free: 180 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.006804/1.653, allocations: 1.786 MB / 0.8414 GB, free: 180 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.01896/1.672, allocations: 13.09 MB / 0.8541 GB, free: 176.5 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01466/1.687, allocations: 8.545 MB / 0.8625 GB, free: 173.1 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/1.687, allocations: 4.438 kB / 0.8625 GB, free: 173.1 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.007697/1.695, allocations: 4.318 MB / 0.8667 GB, free: 171.3 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004497/1.699, allocations: 0.9954 MB / 0.8677 GB, free: 171 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0773/1.777, 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.005659/1.782, allocations: 6.331 MB / 0.9322 GB, free: 118.6 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.004094/1.786, allocations: 1.936 MB / 0.9341 GB, free: 116.7 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003357/1.79, allocations: 3.366 MB / 0.9374 GB, free: 113.3 MB / 0.5607 GB Notification: Performance of SimCode: time 7.31e-07/1.79, allocations: 0 / 0.9374 GB, free: 113.3 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9249/2.715, allocations: 144.3 MB / 1.078 GB, free: 168.2 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.42/24.13, allocations: 8.609 kB / 1.078 GB, free: 168.2 MB / 0.5607 GB " [Timeout remaining time 636] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 30.245946043985896]