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.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.001286/0.001286, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001348/0.001348, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.399/1.399, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.IMS_Characteristics,fileNamePrefix="Modelica_4_1_0_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_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 43.94 kB / 378.5 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2522, allocations: 53.36 MB / 431.9 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02933/0.2815, allocations: 23.2 MB / 455.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01686/0.2984, allocations: 7.825 MB / 462.9 MB, free: 7.496 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004981/0.3033, allocations: 238.8 kB / 463.2 MB, free: 7.262 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02143/0.3248, allocations: 8.757 MB / 471.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01097/0.3357, allocations: 3.397 MB / 475.3 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005541/0.3413, allocations: 1.823 MB / 477.1 MB, free: 9.262 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01692/0.3582, allocations: 12.36 MB / 489.5 MB, free: 12.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03193/0.3901, allocations: 16.03 MB / 0.4937 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0108/0.4009, allocations: 6.644 MB / 0.5002 GB, free: 5.977 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01183/0.4128, allocations: 7.304 MB / 0.5073 GB, free: 14.65 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004782/0.4175, allocations: 1.844 MB / 0.5091 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007829/0.4254, allocations: 2.226 MB / 0.5113 GB, free: 10.58 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006005/0.4314, allocations: 3.624 MB / 0.5148 GB, free: 6.945 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01206/0.4434, allocations: 5.378 MB / 0.5201 GB, free: 1.547 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4442/0.8876, allocations: 24.92 MB / 0.5444 GB, free: 42.53 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.8876, allocations: 0 / 0.5444 GB, free: 42.53 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.8876, allocations: 0 / 0.5444 GB, free: 42.53 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005942/0.8882, allocations: 0 / 0.5444 GB, free: 42.53 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.04347/0.9317, allocations: 14.69 MB / 0.5587 GB, free: 38.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.9317, allocations: 10.06 kB / 0.5587 GB, free: 38.71 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000301/0.932, allocations: 330.5 kB / 0.5591 GB, free: 38.65 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006772/0.9388, allocations: 1.788 MB / 0.5608 GB, free: 38.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04435/0.9832, allocations: 8.443 MB / 0.5691 GB, free: 35.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01563/0.9988, allocations: 7.768 MB / 0.5766 GB, free: 31.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006634/0.9995, allocations: 0.8008 MB / 0.5774 GB, free: 30.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004774/1.004, allocations: 1.061 MB / 0.5785 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04199/1.046, allocations: 18.57 MB / 0.5966 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004167/1.047, allocations: 11.95 kB / 0.5966 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004415/1.051, allocations: 451.7 kB / 0.597 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005338/1.052, allocations: 0.6711 MB / 0.5977 GB, free: 12.03 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03488/1.086, allocations: 17.59 MB / 0.6149 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1095/1.196, allocations: 52.23 MB / 0.6659 GB, free: 6.078 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0248/1.221, allocations: 12.71 MB / 0.6783 GB, free: 11.46 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007846/1.229, allocations: 3.747 MB / 0.6819 GB, free: 7.695 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008142/1.229, allocations: 128 kB / 0.6821 GB, free: 7.566 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/1.23, allocations: 86.64 kB / 0.6821 GB, free: 7.469 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=520): time 1.268e-05/1.23, allocations: 4 kB / 0.6822 GB, free: 7.465 MB / 0.5138 GB Notification: Performance of matching and sorting (n=599): time 0.09091/1.321, allocations: 34.1 MB / 0.7155 GB, free: 5.258 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/1.321, allocations: 116.1 kB / 0.7156 GB, free: 5.129 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008591/1.329, allocations: 4.184 MB / 0.7197 GB, free: 0.918 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009857/1.33, allocations: 121.7 kB / 0.7198 GB, free: 0.793 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004262/1.334, allocations: 4.672 MB / 0.7243 GB, free: 12.11 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002758/1.337, allocations: 2.122 MB / 0.7264 GB, free: 10.02 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00407/1.341, allocations: 1.474 MB / 0.7278 GB, free: 8.535 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.0001204/1.341, allocations: 301.1 kB / 0.7281 GB, free: 8.238 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006855/1.348, allocations: 3.923 MB / 0.732 GB, free: 4.312 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009684/1.358, allocations: 6.437 MB / 0.7382 GB, free: 12.82 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01819/1.376, allocations: 11.13 MB / 0.7491 GB, free: 0.8555 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001067/1.376, allocations: 22.62 kB / 0.7491 GB, free: 0.8359 MB / 0.5763 GB Notification: Performance of matching and sorting (n=985) (initialization): time 0.2321/1.608, allocations: 13.12 MB / 0.7619 GB, free: 208.4 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 7.328e-05/1.608, allocations: 38.22 kB / 0.762 GB, free: 208.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001542/1.609, allocations: 80.84 kB / 0.7621 GB, free: 208.4 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006939/1.616, allocations: 2.902 MB / 0.7649 GB, free: 207.8 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005417/1.621, allocations: 1.626 MB / 0.7665 GB, free: 207.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02817/1.649, allocations: 23.54 MB / 0.7895 GB, free: 191.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005179/1.654, allocations: 427.4 kB / 0.7899 GB, free: 190.8 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001054/1.655, allocations: 359.6 kB / 0.7902 GB, free: 190.5 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (846): * Single equations (assignments): 843 * 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.8%), (14,56,38.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005824/1.661, allocations: 4.255 MB / 0.7944 GB, free: 186.9 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001043/1.662, allocations: 0.5107 MB / 0.7949 GB, free: 186.7 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01531/1.678, allocations: 10.67 MB / 0.8053 GB, free: 177.4 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01207/1.69, allocations: 9.134 MB / 0.8142 GB, free: 168.1 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.175e-05/1.69, allocations: 20 kB / 0.8142 GB, free: 168.1 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.922e-05/1.69, allocations: 35.81 kB / 0.8143 GB, free: 168.1 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03303/1.723, allocations: 22.06 MB / 0.8358 GB, free: 146 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.476e-05/1.723, allocations: 4 kB / 0.8358 GB, free: 146 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003731/1.726, allocations: 0.9676 MB / 0.8368 GB, free: 145 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006191/1.733, allocations: 2.599 MB / 0.8393 GB, free: 142.4 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009605/1.734, allocations: 128 kB / 0.8394 GB, free: 142.3 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02193/1.756, allocations: 19.73 MB / 0.8587 GB, free: 122.3 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/1.756, allocations: 9.312 kB / 0.8587 GB, free: 122.3 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0199/1.775, allocations: 15.21 MB / 0.8736 GB, free: 106.9 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00291/1.778, allocations: 1.29 MB / 0.8748 GB, free: 105.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009711/1.779, allocations: 100 kB / 0.8749 GB, free: 105.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002767/1.782, allocations: 287.7 kB / 0.8752 GB, free: 105.3 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008948/1.783, allocations: 445.3 kB / 0.8756 GB, free: 104.8 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003569/1.783, allocations: 175.8 kB / 0.8758 GB, free: 104.7 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.003338/1.787, allocations: 2.823 MB / 0.8785 GB, free: 101.8 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.61e-07/1.787, allocations: 0 / 0.8785 GB, free: 101.8 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.006549/1.793, allocations: 2.142 MB / 0.8806 GB, free: 99.69 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (511): * Single equations (assignments): 508 * 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,41.3%), (14,56,37.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02166/1.815, allocations: 16 MB / 0.8962 GB, free: 83.52 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01505/1.83, allocations: 10.35 MB / 0.9063 GB, free: 73.12 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.83, allocations: 0 / 0.9063 GB, free: 73.12 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.008253/1.838, allocations: 5.244 MB / 0.9115 GB, free: 67.84 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005373/1.844, allocations: 1.168 MB / 0.9126 GB, free: 66.69 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3132/2.157, allocations: 70.59 MB / 0.9815 GB, free: 204.6 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008845/2.166, allocations: 6.763 MB / 0.9881 GB, free: 204 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.005464/2.171, allocations: 2.35 MB / 0.9904 GB, free: 203.9 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005563/2.177, allocations: 3.98 MB / 0.9943 GB, free: 203.5 MB / 0.5763 GB Notification: Performance of SimCode: time 1.183e-06/2.177, allocations: 2.938 kB / 0.9943 GB, free: 203.5 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2051/2.382, allocations: 172.7 MB / 1.163 GB, free: 48.01 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.87/25.25, allocations: 8.062 kB / 1.163 GB, free: 48 MB / 0.5763 GB " [Timeout remaining time 634] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_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_IMS_Characteristics.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 28.916924069984816]