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.001586/0.001586, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.002276/0.002276, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.469/1.469, allocations: 230.2 MB / 254.5 MB, free: 15.27 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="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 67.88 kB / 373.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1151, allocations: 53.31 MB / 426.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.2295/0.3446, allocations: 24.89 MB / 451.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01939/0.364, allocations: 7.481 MB / 459.1 MB, free: 7.031 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006839/0.3708, allocations: 186.9 kB / 459.2 MB, free: 6.996 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02371/0.3945, allocations: 8.887 MB / 468.1 MB, free: 1.672 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01258/0.4071, allocations: 2.969 MB / 471.1 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006205/0.4133, allocations: 1.738 MB / 472.8 MB, free: 13.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01903/0.4323, allocations: 10.82 MB / 483.7 MB, free: 7.305 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03994/0.4723, allocations: 16.59 MB / 0.4885 GB, free: 7.664 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01083/0.4831, allocations: 5.736 MB / 0.4941 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01214/0.4952, allocations: 6.351 MB / 0.5003 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005006/0.5002, allocations: 1.668 MB / 0.502 GB, free: 9.875 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007134/0.5074, allocations: 2.054 MB / 0.504 GB, free: 7.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005961/0.5133, allocations: 3.164 MB / 0.5071 GB, free: 4.648 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0136/0.5269, allocations: 6.094 MB / 0.513 GB, free: 14.53 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03504/0.562, allocations: 22.4 MB / 0.5349 GB, free: 8.062 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.068e-05/0.562, allocations: 0 / 0.5349 GB, free: 8.062 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.562, allocations: 0 / 0.5349 GB, free: 8.062 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000867/0.5629, allocations: 0 / 0.5349 GB, free: 8.062 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.04749/0.6104, allocations: 12.96 MB / 0.5475 GB, free: 10.99 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.16e-05/0.6104, allocations: 12.03 kB / 0.5475 GB, free: 10.98 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006312/0.6167, allocations: 1.552 MB / 0.5491 GB, free: 9.41 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03686/0.6536, allocations: 6.183 MB / 0.5551 GB, free: 3.215 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01968/0.6733, allocations: 6.934 MB / 0.5619 GB, free: 12.22 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008973/0.6742, allocations: 0.6985 MB / 0.5626 GB, free: 11.52 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005451/0.6796, allocations: 0.9179 MB / 0.5635 GB, free: 10.6 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0498/0.7294, allocations: 15.78 MB / 0.5789 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003706/0.7298, allocations: 15.95 kB / 0.5789 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003509/0.7333, allocations: 388 kB / 0.5792 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006692/0.734, allocations: 0.5547 MB / 0.5798 GB, free: 9.797 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03405/0.768, allocations: 14.81 MB / 0.5943 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5658/1.334, allocations: 52.19 MB / 0.6452 GB, free: 124.2 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02314/1.357, allocations: 26.1 MB / 0.6707 GB, free: 102.6 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005591/1.363, allocations: 2.931 MB / 0.6736 GB, free: 101.5 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004526/1.363, allocations: 276.6 kB / 0.6738 GB, free: 101.3 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.471e-05/1.363, allocations: 73.5 kB / 0.6739 GB, free: 101.2 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=398): time 5.77e-06/1.363, allocations: 0 / 0.6739 GB, free: 101.2 MB / 0.5138 GB Notification: Performance of matching and sorting (n=404): time 0.0417/1.405, allocations: 17.43 MB / 0.6909 GB, free: 93.42 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/1.405, allocations: 90.89 kB / 0.691 GB, free: 93.35 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005967/1.411, allocations: 3.697 MB / 0.6946 GB, free: 91.43 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0009183/1.412, allocations: 97 kB / 0.6947 GB, free: 91.34 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.00243/1.414, allocations: 4.122 MB / 0.6987 GB, free: 88.26 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001648/1.416, allocations: 1.447 MB / 0.7002 GB, free: 87.01 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001918/1.418, allocations: 1.151 MB / 0.7013 GB, free: 86.35 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.288e-05/1.418, allocations: 301.1 kB / 0.7016 GB, free: 86.05 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00394/1.422, allocations: 2.799 MB / 0.7043 GB, free: 84.54 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005474/1.427, allocations: 4.969 MB / 0.7092 GB, free: 80.15 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009736/1.437, allocations: 8.327 MB / 0.7173 GB, free: 73.5 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.385e-05/1.437, allocations: 20 kB / 0.7173 GB, free: 73.48 MB / 0.5138 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01341/1.45, allocations: 9.106 MB / 0.7262 GB, free: 64.35 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 5.569e-05/1.45, allocations: 36 kB / 0.7262 GB, free: 64.32 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.454e-05/1.451, allocations: 68 kB / 0.7263 GB, free: 64.25 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003038/1.454, allocations: 1.23 MB / 0.7275 GB, free: 63.02 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004391/1.458, allocations: 1.322 MB / 0.7288 GB, free: 61.69 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01213/1.47, allocations: 9.929 MB / 0.7385 GB, free: 51.63 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004134/1.474, allocations: 327.6 kB / 0.7388 GB, free: 51.31 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006077/1.475, allocations: 288 kB / 0.7391 GB, free: 51.03 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 (694): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004825/1.48, allocations: 3.701 MB / 0.7427 GB, free: 47.32 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009202/1.481, allocations: 421.3 kB / 0.7431 GB, free: 46.9 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01062/1.491, allocations: 6.666 MB / 0.7496 GB, free: 40.2 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008484/1.5, allocations: 5.583 MB / 0.7551 GB, free: 34.59 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.997e-05/1.5, allocations: 8 kB / 0.7551 GB, free: 34.59 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.169e-05/1.5, allocations: 21.52 kB / 0.7551 GB, free: 34.57 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03075/1.531, allocations: 15.76 MB / 0.7705 GB, free: 18.72 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-05/1.531, allocations: 4.594 kB / 0.7705 GB, free: 18.72 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002871/1.533, allocations: 0.7333 MB / 0.7712 GB, free: 17.98 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002971/1.536, allocations: 1.113 MB / 0.7723 GB, free: 16.87 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004916/1.537, allocations: 95.97 kB / 0.7724 GB, free: 16.77 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01113/1.548, allocations: 8.845 MB / 0.781 GB, free: 7.789 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/1.548, allocations: 7.938 kB / 0.781 GB, free: 7.781 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01496/1.563, allocations: 9.862 MB / 0.7907 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002761/1.566, allocations: 0.9764 MB / 0.7916 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006456/1.566, allocations: 80 kB / 0.7917 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001969/1.568, allocations: 195.9 kB / 0.7919 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006245/1.569, allocations: 291.2 kB / 0.7921 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002618/1.569, allocations: 128 kB / 0.7923 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003881/1.573, allocations: 2.495 MB / 0.7947 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/1.573, allocations: 0 / 0.7947 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006312/1.579, allocations: 1.609 MB / 0.7963 GB, free: 8.031 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.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 (389): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0183/1.598, allocations: 10.59 MB / 0.8066 GB, free: 13.33 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01462/1.612, allocations: 6.867 MB / 0.8133 GB, free: 6.449 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-05/1.612, allocations: 8.062 kB / 0.8133 GB, free: 6.441 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00797/1.62, allocations: 3.17 MB / 0.8164 GB, free: 3.262 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006121/1.626, allocations: 0.9722 MB / 0.8174 GB, free: 2.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.309/1.936, allocations: 54.27 MB / 0.8704 GB, free: 171.1 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009034/1.945, allocations: 6.181 MB / 0.8764 GB, free: 168.7 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.004936/1.949, allocations: 1.919 MB / 0.8783 GB, free: 168.4 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005393/1.955, allocations: 3.326 MB / 0.8815 GB, free: 165.4 MB / 0.5607 GB Notification: Performance of SimCode: time 1.403e-06/1.955, allocations: 0 / 0.8815 GB, free: 165.4 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2467/2.202, allocations: 128.4 MB / 1.007 GB, free: 41.32 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.34/21.55, allocations: 4.062 kB / 1.007 GB, free: 41.31 MB / 0.5607 GB " [Timeout remaining time 638] (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_2/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_2/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: 24.880436951760203]