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.001597/0.001597, allocations: 114 kB / 20.44 MB, free: 1.469 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.001845/0.001845, allocations: 211.4 kB / 23.74 MB, free: 4.695 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.416/1.416, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.001962/0.001962, allocations: 55.91 kB / 377.8 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2415, allocations: 53.41 MB / 431.2 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02898/0.2705, allocations: 24.96 MB / 456.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01655/0.287, allocations: 7.489 MB / 463.7 MB, free: 6.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004887/0.2919, allocations: 222.9 kB / 463.9 MB, free: 6.031 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02178/0.3137, allocations: 8.912 MB / 472.8 MB, free: 13.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009906/0.3236, allocations: 3.027 MB / 475.8 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005277/0.3288, allocations: 1.792 MB / 477.6 MB, free: 8.281 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01568/0.3445, allocations: 10.94 MB / 488.6 MB, free: 13.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02893/0.3735, allocations: 14.35 MB / 0.4911 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01086/0.3843, allocations: 5.861 MB / 0.4968 GB, free: 8.934 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01252/0.3968, allocations: 6.374 MB / 0.5031 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005794/0.4026, allocations: 1.668 MB / 0.5047 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007128/0.4098, allocations: 2.062 MB / 0.5067 GB, free: 14.81 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006297/0.4161, allocations: 3.16 MB / 0.5098 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01405/0.4301, allocations: 6.094 MB / 0.5158 GB, free: 5.523 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4897/0.9198, allocations: 22.39 MB / 0.5376 GB, free: 39.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.9198, allocations: 1.719 kB / 0.5376 GB, free: 39.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.9198, allocations: 0.5312 kB / 0.5376 GB, free: 39.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004942/0.9203, allocations: 0.8125 kB / 0.5376 GB, free: 39.82 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.03635/0.9567, allocations: 12.89 MB / 0.5502 GB, free: 36.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.9567, allocations: 10.84 kB / 0.5502 GB, free: 36.48 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005277/0.962, allocations: 1.548 MB / 0.5517 GB, free: 36.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03346/0.9954, allocations: 6.182 MB / 0.5578 GB, free: 35.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01578/1.011, allocations: 7.019 MB / 0.5646 GB, free: 34.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007129/1.012, allocations: 0.7002 MB / 0.5653 GB, free: 34.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003947/1.016, allocations: 0.9133 MB / 0.5662 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03505/1.051, allocations: 15.79 MB / 0.5816 GB, free: 22.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005221/1.051, allocations: 11.91 kB / 0.5816 GB, free: 22.37 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003835/1.055, allocations: 390.6 kB / 0.582 GB, free: 22 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005176/1.056, allocations: 0.5547 MB / 0.5825 GB, free: 21.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02914/1.085, allocations: 14.81 MB / 0.597 GB, free: 6.613 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09589/1.181, allocations: 49.92 MB / 0.6458 GB, free: 4.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01906/1.2, allocations: 9.309 MB / 0.6548 GB, free: 12.37 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005547/1.205, allocations: 2.927 MB / 0.6577 GB, free: 9.441 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005007/1.206, allocations: 122.3 kB / 0.6578 GB, free: 9.344 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.327e-05/1.206, allocations: 80.62 kB / 0.6579 GB, free: 9.262 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=398): time 7.915e-06/1.206, allocations: 0 / 0.6579 GB, free: 9.262 MB / 0.4982 GB Notification: Performance of matching and sorting (n=404): time 0.04417/1.25, allocations: 17.27 MB / 0.6748 GB, free: 8.012 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.758e-05/1.25, allocations: 94.58 kB / 0.6749 GB, free: 7.906 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005871/1.256, allocations: 3.704 MB / 0.6785 GB, free: 4.203 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0006703/1.257, allocations: 85.7 kB / 0.6786 GB, free: 4.113 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003356/1.26, allocations: 4.122 MB / 0.6826 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001802/1.262, allocations: 1.457 MB / 0.684 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001934/1.264, allocations: 1.152 MB / 0.6851 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001244/1.264, allocations: 301.1 kB / 0.6854 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004616/1.269, allocations: 2.803 MB / 0.6882 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006915/1.276, allocations: 4.96 MB / 0.693 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01214/1.288, allocations: 8.33 MB / 0.7011 GB, free: 11.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.049e-05/1.288, allocations: 28 kB / 0.7012 GB, free: 11.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01691/1.305, allocations: 9.097 MB / 0.71 GB, free: 2.629 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.518e-05/1.305, allocations: 36 kB / 0.7101 GB, free: 2.594 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001211/1.305, allocations: 76.45 kB / 0.7101 GB, free: 2.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003574/1.308, allocations: 1.228 MB / 0.7113 GB, free: 1.289 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00512/1.314, allocations: 1.321 MB / 0.7126 GB, free: 60 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01639/1.33, allocations: 9.817 MB / 0.7222 GB, free: 6.184 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004208/1.334, allocations: 335.5 kB / 0.7225 GB, free: 5.855 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009433/1.335, allocations: 288 kB / 0.7228 GB, free: 5.574 MB / 0.5607 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.007635/1.343, allocations: 3.706 MB / 0.7264 GB, free: 1.949 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009913/1.344, allocations: 421.3 kB / 0.7268 GB, free: 1.535 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01298/1.357, allocations: 6.657 MB / 0.7333 GB, free: 10.88 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01046/1.367, allocations: 5.587 MB / 0.7388 GB, free: 5.301 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.146e-05/1.367, allocations: 12 kB / 0.7388 GB, free: 5.289 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.257e-05/1.367, allocations: 19.92 kB / 0.7388 GB, free: 5.27 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03214/1.399, allocations: 15.77 MB / 0.7542 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.842e-05/1.399, allocations: 6.297 kB / 0.7542 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003219/1.403, allocations: 0.7324 MB / 0.755 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003258/1.406, allocations: 1.119 MB / 0.756 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005648/1.406, allocations: 95.97 kB / 0.7561 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2435/1.65, allocations: 8.728 MB / 0.7647 GB, free: 224.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/1.65, allocations: 6.688 kB / 0.7647 GB, free: 224.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0136/1.664, allocations: 9.871 MB / 0.7743 GB, free: 220.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002419/1.666, allocations: 0.9222 MB / 0.7752 GB, free: 220.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005773/1.667, allocations: 75.69 kB / 0.7753 GB, free: 220 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001878/1.668, allocations: 193.2 kB / 0.7755 GB, free: 220 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005957/1.669, allocations: 305.9 kB / 0.7758 GB, free: 219.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000219/1.669, allocations: 127.6 kB / 0.7759 GB, free: 219.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003057/1.672, allocations: 2.496 MB / 0.7783 GB, free: 218.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.672, allocations: 5.969 kB / 0.7783 GB, free: 218.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005072/1.677, allocations: 1.61 MB / 0.7799 GB, free: 218.8 MB / 0.5919 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.01274/1.69, allocations: 10.58 MB / 0.7902 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01062/1.701, allocations: 6.877 MB / 0.7969 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.701, allocations: 3.125 kB / 0.7969 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005429/1.706, allocations: 3.181 MB / 0.8001 GB, free: 208.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005962/1.712, allocations: 0.9824 MB / 0.801 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07919/1.791, allocations: 54.4 MB / 0.8541 GB, free: 152.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005684/1.797, allocations: 6.194 MB / 0.8602 GB, free: 146.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004402/1.801, allocations: 1.916 MB / 0.8621 GB, free: 144.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003738/1.805, allocations: 3.327 MB / 0.8653 GB, free: 141.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.001e-06/1.805, allocations: 0 / 0.8653 GB, free: 141.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1834/1.989, allocations: 133.8 MB / 0.9959 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.25/23.24, allocations: 7.984 kB / 0.9959 GB, free: 8.023 MB / 0.5919 GB " [Timeout remaining time 637] (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: 26.389355164952576]