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.IMC_Inverter.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.001311/0.001311, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001407/0.001407, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.504/1.504, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.IMC_Inverter,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 55.92 kB / 373 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1116, allocations: 53.33 MB / 426.4 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.2277/0.3392, allocations: 21.64 MB / 448 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01732/0.3566, allocations: 6.817 MB / 454.8 MB, free: 9.531 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005576/0.3621, allocations: 172.8 kB / 455 MB, free: 9.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01742/0.3796, allocations: 6.905 MB / 461.9 MB, free: 5.414 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0109/0.3905, allocations: 2.808 MB / 464.7 MB, free: 3.668 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005786/0.3962, allocations: 1.569 MB / 466.3 MB, free: 2.473 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01595/0.4122, allocations: 9.073 MB / 475.3 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02795/0.4401, allocations: 13.06 MB / 488.4 MB, free: 2.797 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01073/0.4509, allocations: 4.73 MB / 493.1 MB, free: 14.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01038/0.4613, allocations: 5.229 MB / 498.4 MB, free: 8.809 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003789/0.465, allocations: 1.355 MB / 499.7 MB, free: 7.453 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006996/0.472, allocations: 1.691 MB / 0.4896 GB, free: 5.762 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004796/0.4768, allocations: 2.619 MB / 0.4922 GB, free: 3.137 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01073/0.4876, allocations: 4.958 MB / 0.497 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02562/0.5132, allocations: 18.26 MB / 0.5149 GB, free: 11.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.5132, allocations: 3.984 kB / 0.5149 GB, free: 11.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5132, allocations: 0 / 0.5149 GB, free: 11.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000462/0.5137, allocations: 0 / 0.5149 GB, free: 11.84 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2107 * Number of variables: 2107 Notification: Performance of Generate backend data structure: time 0.03855/0.5522, allocations: 10.74 MB / 0.5254 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/0.5523, allocations: 8.031 kB / 0.5254 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004849/0.5571, allocations: 1.086 MB / 0.5264 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03611/0.5932, allocations: 5.899 MB / 0.5322 GB, free: 9.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01412/0.6073, allocations: 5.738 MB / 0.5378 GB, free: 4.184 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007489/0.6081, allocations: 0.5579 MB / 0.5384 GB, free: 3.625 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003724/0.6118, allocations: 0.7381 MB / 0.5391 GB, free: 2.887 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03797/0.6498, allocations: 12.88 MB / 0.5517 GB, free: 5.941 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002458/0.65, allocations: 7.953 kB / 0.5517 GB, free: 5.934 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001913/0.6519, allocations: 316 kB / 0.552 GB, free: 5.625 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005919/0.6525, allocations: 496.1 kB / 0.5524 GB, free: 5.137 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02885/0.6814, allocations: 12.62 MB / 0.5648 GB, free: 8.488 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08358/0.765, allocations: 41.54 MB / 0.6053 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2749/1.04, allocations: 25.87 MB / 0.6306 GB, free: 135.6 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008282/1.048, allocations: 2.92 MB / 0.6334 GB, free: 135.6 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000683/1.049, allocations: 273.5 kB / 0.6337 GB, free: 135.4 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.012e-05/1.049, allocations: 75.5 kB / 0.6338 GB, free: 135.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=410): time 1.105e-05/1.049, allocations: 0 / 0.6338 GB, free: 135.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=415): time 0.06049/1.109, allocations: 17.09 MB / 0.6505 GB, free: 130 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.067e-05/1.109, allocations: 93.14 kB / 0.6506 GB, free: 129.9 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007699/1.117, allocations: 2.838 MB / 0.6533 GB, free: 128.8 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0008164/1.118, allocations: 91.89 kB / 0.6534 GB, free: 128.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002494/1.12, allocations: 3.149 MB / 0.6565 GB, free: 126.8 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001992/1.122, allocations: 1.467 MB / 0.6579 GB, free: 125.7 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003418/1.126, allocations: 0.9525 MB / 0.6589 GB, free: 125.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.437e-05/1.126, allocations: 306.5 kB / 0.6591 GB, free: 124.9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004377/1.13, allocations: 2.511 MB / 0.6616 GB, free: 123.9 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004873/1.135, allocations: 4.112 MB / 0.6656 GB, free: 120.9 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008891/1.144, allocations: 7.204 MB / 0.6726 GB, free: 116.4 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001096/1.144, allocations: 15.31 kB / 0.6727 GB, free: 116.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.0149/1.159, allocations: 8.03 MB / 0.6805 GB, free: 113.1 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/1.159, allocations: 27.12 kB / 0.6805 GB, free: 113.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001158/1.159, allocations: 51.78 kB / 0.6806 GB, free: 113.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004814/1.164, allocations: 1.239 MB / 0.6818 GB, free: 112.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005992/1.17, allocations: 1.129 MB / 0.6829 GB, free: 112.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01983/1.19, allocations: 11.24 MB / 0.6939 GB, free: 103.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006014/1.196, allocations: 267.9 kB / 0.6941 GB, free: 102.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001197/1.197, allocations: 236.6 kB / 0.6944 GB, free: 102.7 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * 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 (590): * Single equations (assignments): 588 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008104/1.205, allocations: 2.948 MB / 0.6972 GB, free: 99.74 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002095/1.207, allocations: 369.6 kB / 0.6976 GB, free: 99.38 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0175/1.225, allocations: 6.678 MB / 0.7041 GB, free: 92.68 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-05/1.225, allocations: 40 kB / 0.7041 GB, free: 92.64 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.093e-05/1.225, allocations: 12 kB / 0.7042 GB, free: 92.63 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-05/1.225, allocations: 19.92 kB / 0.7042 GB, free: 92.61 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03079/1.256, allocations: 14.87 MB / 0.7187 GB, free: 77.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.874e-05/1.256, allocations: 12.67 kB / 0.7187 GB, free: 77.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003158/1.259, allocations: 0.745 MB / 0.7194 GB, free: 76.95 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003263/1.262, allocations: 1.13 MB / 0.7205 GB, free: 75.82 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000652/1.263, allocations: 91.97 kB / 0.7206 GB, free: 75.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01238/1.275, allocations: 10.18 MB / 0.7306 GB, free: 65.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/1.275, allocations: 7.938 kB / 0.7306 GB, free: 65.27 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01556/1.291, allocations: 10.01 MB / 0.7403 GB, free: 55.13 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00245/1.293, allocations: 0.9514 MB / 0.7413 GB, free: 54.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001108/1.294, allocations: 83.88 kB / 0.7414 GB, free: 54.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00259/1.297, allocations: 203.8 kB / 0.7415 GB, free: 53.88 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007844/1.298, allocations: 307.2 kB / 0.7418 GB, free: 53.58 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003675/1.298, allocations: 128 kB / 0.742 GB, free: 53.46 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003482/1.302, allocations: 1.959 MB / 0.7439 GB, free: 51.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/1.302, allocations: 0 / 0.7439 GB, free: 51.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005822/1.307, allocations: 1.387 MB / 0.7452 GB, free: 50.11 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 (aimc.inertiaRotor.w,voltageSource.plug_p.reference.gamma,loadInertia.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 (398): * Single equations (assignments): 396 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01453/1.322, allocations: 10.74 MB / 0.7557 GB, free: 39.24 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0111/1.333, allocations: 6.487 MB / 0.7621 GB, free: 32.73 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/1.333, allocations: 4 kB / 0.7621 GB, free: 32.73 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005658/1.339, allocations: 3.312 MB / 0.7653 GB, free: 29.39 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005545/1.344, allocations: 0.8364 MB / 0.7661 GB, free: 28.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09174/1.436, allocations: 47.1 MB / 0.8121 GB, free: 11.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009153/1.445, allocations: 5.088 MB / 0.8171 GB, free: 6.379 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005741/1.451, allocations: 1.614 MB / 0.8187 GB, free: 4.758 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005836/1.457, allocations: 2.678 MB / 0.8213 GB, free: 2.078 MB / 0.545 GB Notification: Performance of SimCode: time 1.353e-06/1.457, allocations: 0 / 0.8213 GB, free: 2.078 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4162/1.873, allocations: 111.8 MB / 0.9304 GB, free: 97.66 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.61/19.48, allocations: 6.906 kB / 0.9304 GB, free: 97.66 MB / 0.545 GB " [Timeout remaining time 640] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_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_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 657] Reference file matches [Calling sys.exit(0), Time elapsed: 27.485314022982493]