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.001814/0.001814, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.002294/0.002294, allocations: 209.5 kB / 24.52 MB, free: 3.941 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.454/1.454, allocations: 230.5 MB / 258.2 MB, free: 7.801 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.001945/0.001945, allocations: 64.05 kB / 378.5 MB, free: 2.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2996, allocations: 53.42 MB / 431.9 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02663/0.3262, allocations: 21.36 MB / 453.3 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01545/0.3417, allocations: 7.15 MB / 460.5 MB, free: 10 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004266/0.3459, allocations: 222.9 kB / 460.7 MB, free: 9.781 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0208/0.3667, allocations: 8.208 MB / 468.9 MB, free: 1.555 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01275/0.3795, allocations: 2.98 MB / 471.9 MB, free: 14.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006376/0.3858, allocations: 1.714 MB / 473.6 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02029/0.4061, allocations: 10.94 MB / 484.5 MB, free: 1.887 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03001/0.4361, allocations: 14.36 MB / 498.9 MB, free: 3.383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01063/0.4468, allocations: 5.861 MB / 0.4929 GB, free: 13.51 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0137/0.4605, allocations: 6.366 MB / 0.4991 GB, free: 7.121 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005223/0.4657, allocations: 1.672 MB / 0.5008 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006894/0.4726, allocations: 2.054 MB / 0.5028 GB, free: 3.395 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005613/0.4782, allocations: 3.164 MB / 0.5058 GB, free: 228 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01046/0.4887, allocations: 4.713 MB / 0.5105 GB, free: 11.49 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02981/0.5185, allocations: 22.49 MB / 0.5324 GB, free: 4.934 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.5185, allocations: 4 kB / 0.5324 GB, free: 4.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5185, allocations: 3.938 kB / 0.5324 GB, free: 4.926 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006296/0.5191, allocations: 0 / 0.5324 GB, free: 4.926 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.5012/1.02, allocations: 12.88 MB / 0.545 GB, free: 89.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.901e-05/1.02, allocations: 7.938 kB / 0.545 GB, free: 89.27 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004571/1.021, allocations: 290 kB / 0.5453 GB, free: 89.22 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006512/1.027, allocations: 1.548 MB / 0.5468 GB, free: 88.15 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03469/1.062, allocations: 6.182 MB / 0.5528 GB, free: 82.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01484/1.077, allocations: 7.009 MB / 0.5597 GB, free: 75.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006192/1.078, allocations: 0.7013 MB / 0.5604 GB, free: 74.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004079/1.082, allocations: 0.9169 MB / 0.5613 GB, free: 73.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04066/1.122, allocations: 15.95 MB / 0.5768 GB, free: 57.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006009/1.123, allocations: 7.953 kB / 0.5768 GB, free: 57.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004026/1.127, allocations: 390.6 kB / 0.5772 GB, free: 57.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006036/1.127, allocations: 0.5586 MB / 0.5778 GB, free: 56.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03076/1.158, allocations: 14.82 MB / 0.5922 GB, free: 42.01 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08664/1.245, allocations: 45.74 MB / 0.6369 GB, free: 11.85 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01995/1.265, allocations: 9.23 MB / 0.6459 GB, free: 3.691 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005733/1.271, allocations: 2.933 MB / 0.6488 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003784/1.271, allocations: 103 kB / 0.6489 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.032e-05/1.271, allocations: 77.69 kB / 0.649 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of pre-optimization done (n=400): time 7.414e-06/1.271, allocations: 0 / 0.649 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of matching and sorting (n=467): time 0.07058/1.342, allocations: 26.88 MB / 0.6752 GB, free: 5.711 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.566e-05/1.342, allocations: 99.06 kB / 0.6753 GB, free: 5.602 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007261/1.349, allocations: 3.704 MB / 0.6789 GB, free: 1.898 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001046/1.35, allocations: 101.7 kB / 0.679 GB, free: 1.793 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004303/1.354, allocations: 4.127 MB / 0.683 GB, free: 13.62 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002822/1.357, allocations: 1.658 MB / 0.6847 GB, free: 11.95 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002944/1.36, allocations: 1.24 MB / 0.6859 GB, free: 10.7 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.000181/1.36, allocations: 305.1 kB / 0.6862 GB, free: 10.4 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006848/1.367, allocations: 3.202 MB / 0.6893 GB, free: 7.195 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008944/1.376, allocations: 5.422 MB / 0.6946 GB, free: 0.7773 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01763/1.394, allocations: 9.258 MB / 0.7036 GB, free: 6.531 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001087/1.394, allocations: 20 kB / 0.7036 GB, free: 6.512 MB / 0.5138 GB Notification: Performance of matching and sorting (n=815) (initialization): time 0.02504/1.419, allocations: 10.95 MB / 0.7143 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.969e-05/1.419, allocations: 40.09 kB / 0.7144 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001705/1.419, allocations: 75.98 kB / 0.7144 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007537/1.427, allocations: 2.453 MB / 0.7168 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005948/1.433, allocations: 1.334 MB / 0.7181 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03805/1.471, allocations: 20.13 MB / 0.7378 GB, free: 3.254 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006141/1.477, allocations: 351.5 kB / 0.7381 GB, free: 2.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001545/1.478, allocations: 307.9 kB / 0.7384 GB, free: 2.609 MB / 0.545 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.0103/1.489, allocations: 3.775 MB / 0.7421 GB, free: 14.82 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00158/1.49, allocations: 445.2 kB / 0.7425 GB, free: 14.38 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01949/1.51, allocations: 8.581 MB / 0.7509 GB, free: 5.773 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3756/1.885, allocations: 7.346 MB / 0.7581 GB, free: 194.3 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.627e-05/1.885, allocations: 23.89 kB / 0.7581 GB, free: 194.3 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000166/1.885, allocations: 23.02 kB / 0.7581 GB, free: 194.3 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03286/1.918, allocations: 18.24 MB / 0.7759 GB, free: 188.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.14e-05/1.918, allocations: 3.969 kB / 0.776 GB, free: 188.3 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002676/1.921, allocations: 0.7489 MB / 0.7767 GB, free: 188.2 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00563/1.927, allocations: 2.191 MB / 0.7788 GB, free: 187.8 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005489/1.927, allocations: 104.2 kB / 0.7789 GB, free: 187.7 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02138/1.949, allocations: 16.87 MB / 0.7954 GB, free: 177.2 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.949, allocations: 7.938 kB / 0.7954 GB, free: 177.2 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01819/1.967, allocations: 12.35 MB / 0.8075 GB, free: 165.4 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003004/1.97, allocations: 1.047 MB / 0.8085 GB, free: 164.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007915/1.971, allocations: 84 kB / 0.8086 GB, free: 164.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002285/1.973, allocations: 215.3 kB / 0.8088 GB, free: 164.3 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000838/1.974, allocations: 367.9 kB / 0.8091 GB, free: 164 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002711/1.974, allocations: 140 kB / 0.8093 GB, free: 163.8 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.003227/1.977, allocations: 2.499 MB / 0.8117 GB, free: 161.3 MB / 0.5607 GB Notification: Performance of sort global known variables: time 7e-08/1.977, allocations: 0 / 0.8117 GB, free: 161.3 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.00592/1.983, allocations: 1.791 MB / 0.8134 GB, free: 159.6 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.01673/2, allocations: 13.1 MB / 0.8262 GB, free: 146.5 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01529/2.015, allocations: 8.533 MB / 0.8346 GB, free: 137.9 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/2.015, allocations: 4.125 kB / 0.8346 GB, free: 137.9 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.008535/2.024, allocations: 4.325 MB / 0.8388 GB, free: 133.6 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005722/2.029, allocations: 0.9907 MB / 0.8398 GB, free: 132.6 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09704/2.126, allocations: 59.91 MB / 0.8983 GB, free: 70.29 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007115/2.134, allocations: 5.885 MB / 0.904 GB, free: 64.36 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.00466/2.138, allocations: 1.937 MB / 0.9059 GB, free: 62.41 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004966/2.143, allocations: 3.37 MB / 0.9092 GB, free: 59.04 MB / 0.5607 GB Notification: Performance of SimCode: time 1.102e-06/2.143, allocations: 0 / 0.9092 GB, free: 59.04 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4957/2.639, allocations: 150.6 MB / 1.056 GB, free: 118.2 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.32/24.95, allocations: 3.938 kB / 1.056 GB, free: 118.2 MB / 0.5607 GB " [Timeout remaining time 635] (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: 28.82232960301917]