Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008556/0.0008556, allocations: 87.62 kB / 21.43 MB, free: 3.137 MB / 18.57 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.004281/0.004281, allocations: 161.3 kB / 24.69 MB, free: 9.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8468/0.8468, allocations: 158.6 MB / 186.5 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_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_3_2_3_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 2.244e-06/2.244e-06, allocations: 0 / 298.5 MB, free: 3.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.095e-05, allocations: 2.281 kB / 298.5 MB, free: 3.477 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.133/0.1331, allocations: 21.44 MB / 319.9 MB, free: 2.77 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01386/0.1469, allocations: 7.091 MB / 327 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005951/0.1529, allocations: 188.7 kB / 327.2 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01104/0.1639, allocations: 8.68 MB / 335.9 MB, free: 7.723 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008783/0.1727, allocations: 3.065 MB / 338.9 MB, free: 5.285 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003743/0.1764, allocations: 1.737 MB / 340.7 MB, free: 3.902 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01102/0.1875, allocations: 11.34 MB / 352 MB, free: 9.156 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01943/0.2069, allocations: 14.24 MB / 366.3 MB, free: 10.78 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01242/0.2193, allocations: 8.717 MB / 375 MB, free: 2.047 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007512/0.2268, allocations: 5.567 MB / 380.5 MB, free: 12.47 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003693/0.2305, allocations: 1.676 MB / 382.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005802/0.2363, allocations: 2.054 MB / 384.3 MB, free: 8.738 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004154/0.2405, allocations: 3.286 MB / 387.6 MB, free: 5.445 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008902/0.2494, allocations: 4.129 MB / 391.7 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01975/0.2691, allocations: 22.74 MB / 414.4 MB, free: 10.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.2691, allocations: 4 kB / 414.4 MB, free: 10.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2691, allocations: 4 kB / 414.4 MB, free: 10.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005262/0.2697, allocations: 0 / 414.4 MB, free: 10.5 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.0277/0.2974, allocations: 12.94 MB / 427.4 MB, free: 13.47 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.2974, allocations: 15.98 kB / 427.4 MB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003554/0.301, allocations: 1.581 MB / 429 MB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02032/0.3213, allocations: 7.239 MB / 436.2 MB, free: 4.605 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0116/0.3329, allocations: 6.255 MB / 442.5 MB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005579/0.3334, allocations: 0.7105 MB / 443.2 MB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004129/0.3376, allocations: 0.9373 MB / 444.1 MB, free: 12.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2692/0.6067, allocations: 16.35 MB / 460.5 MB, free: 104.1 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001847/0.6069, allocations: 9.875 kB / 460.5 MB, free: 104.1 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009168/0.6078, allocations: 401.7 kB / 460.9 MB, free: 104 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004782/0.6083, allocations: 0.5808 MB / 461.4 MB, free: 103.9 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02786/0.6362, allocations: 15.38 MB / 476.8 MB, free: 98.12 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04872/0.6849, allocations: 46.58 MB / 0.5111 GB, free: 63.37 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01022/0.6951, allocations: 10.93 MB / 0.5218 GB, free: 54.08 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002343/0.6975, allocations: 3.07 MB / 0.5248 GB, free: 50.99 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008921/0.7064, allocations: 9.037 MB / 0.5336 GB, free: 42.14 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.7064, allocations: 68.23 kB / 0.5337 GB, free: 42.07 MB / 410.8 MB Notification: Performance of pre-optimization done (n=297): time 4.098e-06/0.7064, allocations: 0 / 0.5337 GB, free: 42.07 MB / 410.8 MB Notification: Performance of matching and sorting (n=303): time 0.01739/0.7238, allocations: 15.1 MB / 0.5485 GB, free: 27.28 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.7238, allocations: 81.78 kB / 0.5485 GB, free: 27.18 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002997/0.7268, allocations: 3.993 MB / 0.5524 GB, free: 23.28 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001216/0.727, allocations: 73.7 kB / 0.5525 GB, free: 23.2 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009859/0.728, allocations: 4.391 MB / 0.5568 GB, free: 18.8 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003788/0.7283, allocations: 1.096 MB / 0.5579 GB, free: 17.72 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009038/0.7292, allocations: 1.084 MB / 0.5589 GB, free: 16.62 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.437e-05/0.7293, allocations: 313 kB / 0.5592 GB, free: 16.32 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002033/0.7313, allocations: 2.552 MB / 0.5617 GB, free: 13.76 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002675/0.734, allocations: 4.926 MB / 0.5665 GB, free: 7.699 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005274/0.7392, allocations: 7.93 MB / 0.5743 GB, free: 14.63 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3e-05/0.7393, allocations: 28 kB / 0.5743 GB, free: 14.6 MB / 426.8 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.008676/0.7479, allocations: 8.603 MB / 0.5827 GB, free: 5.961 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.021e-05/0.748, allocations: 40 kB / 0.5827 GB, free: 5.922 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-05/0.748, allocations: 80 kB / 0.5828 GB, free: 5.844 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001805/0.7499, allocations: 1.196 MB / 0.584 GB, free: 4.645 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002666/0.7525, allocations: 1.224 MB / 0.5852 GB, free: 3.418 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009269/0.7618, allocations: 9.529 MB / 0.5945 GB, free: 9.77 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002472/0.7643, allocations: 331.5 kB / 0.5948 GB, free: 9.445 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000391/0.7646, allocations: 288 kB / 0.5951 GB, free: 9.164 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (638): * Single equations (assignments): 636 * 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.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004717/0.7694, allocations: 3.736 MB / 0.5987 GB, free: 5.41 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005871/0.77, allocations: 401.4 kB / 0.5991 GB, free: 5.016 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006467/0.7764, allocations: 5.744 MB / 0.6047 GB, free: 15.22 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004802/0.7812, allocations: 4.688 MB / 0.6093 GB, free: 10.49 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/0.7812, allocations: 12 kB / 0.6093 GB, free: 10.48 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.759e-05/0.7813, allocations: 19.88 kB / 0.6093 GB, free: 10.46 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.184/0.9653, allocations: 13.04 MB / 0.6221 GB, free: 139.9 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/0.9653, allocations: 3.219 kB / 0.6221 GB, free: 139.9 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001367/0.9667, allocations: 0.5647 MB / 0.6226 GB, free: 139.8 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002042/0.9687, allocations: 1.072 MB / 0.6237 GB, free: 139.8 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001837/0.9689, allocations: 69.27 kB / 0.6237 GB, free: 139.8 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009135/0.978, allocations: 8.445 MB / 0.632 GB, free: 136.2 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.978, allocations: 7.875 kB / 0.632 GB, free: 136.2 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01157/0.9896, allocations: 8.443 MB / 0.6402 GB, free: 132.6 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001867/0.9915, allocations: 0.8242 MB / 0.641 GB, free: 132.4 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004003/0.9919, allocations: 63.12 kB / 0.6411 GB, free: 132.3 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.9929, allocations: 189.4 kB / 0.6413 GB, free: 132.3 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005801/0.9935, allocations: 237.4 kB / 0.6415 GB, free: 132.3 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001846/0.9937, allocations: 92.73 kB / 0.6416 GB, free: 132.2 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.003488/0.9972, allocations: 2.577 MB / 0.6441 GB, free: 131.3 MB / 458.8 MB Notification: Performance of sort global known variables: time 8.61e-07/0.9972, allocations: 0 / 0.6441 GB, free: 131.3 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.006887/1.004, allocations: 1.541 MB / 0.6456 GB, free: 131.1 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (282): * Single equations (assignments): 280 * 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.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009055/1.013, allocations: 9.131 MB / 0.6545 GB, free: 127 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.007547/1.021, allocations: 6.241 MB / 0.6606 GB, free: 124.6 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/1.021, allocations: 3.906 kB / 0.6606 GB, free: 124.6 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003137/1.024, allocations: 2.746 MB / 0.6633 GB, free: 123.5 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003211/1.027, allocations: 0.9427 MB / 0.6642 GB, free: 123.2 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06419/1.091, allocations: 52.9 MB / 0.7159 GB, free: 70.65 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004776/1.096, allocations: 5.777 MB / 0.7215 GB, free: 64.82 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.003585/1.1, allocations: 1.886 MB / 0.7234 GB, free: 62.93 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002828/1.102, allocations: 3.25 MB / 0.7265 GB, free: 59.68 MB / 458.8 MB Notification: Performance of SimCode: time 2.966e-06/1.102, allocations: 0 / 0.7265 GB, free: 59.68 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3401/1.443, allocations: 123.4 MB / 0.8471 GB, free: 124.6 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/12.56, allocations: 8.891 kB / 0.8471 GB, free: 124.6 MB / 474.8 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 14.52720346674323]