Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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.001849/0.001849, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002296/0.002296, allocations: 212.7 kB / 24.52 MB, free: 3.91 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.482/1.482, allocations: 230.5 MB / 258.2 MB, free: 7.785 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_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 59.91 kB / 378.5 MB, free: 2.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2905, allocations: 53.4 MB / 431.9 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02496/0.3155, allocations: 18.6 MB / 450.5 MB, free: 3.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01645/0.3319, allocations: 6.485 MB / 457 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00514/0.3371, allocations: 171.2 kB / 457.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01812/0.3552, allocations: 6.388 MB / 463.6 MB, free: 6.688 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01099/0.3662, allocations: 2.806 MB / 466.4 MB, free: 3.871 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005662/0.3718, allocations: 1.557 MB / 467.9 MB, free: 2.324 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01683/0.3887, allocations: 9.175 MB / 477.1 MB, free: 9.121 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02634/0.415, allocations: 11.06 MB / 488.2 MB, free: 13.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009227/0.4242, allocations: 4.769 MB / 493 MB, free: 9.133 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0112/0.4354, allocations: 5.241 MB / 498.2 MB, free: 3.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006136/0.4416, allocations: 1.355 MB / 499.5 MB, free: 2.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008069/0.4496, allocations: 1.683 MB / 0.4895 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005824/0.4555, allocations: 2.638 MB / 0.4921 GB, free: 14.19 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009946/0.4654, allocations: 3.845 MB / 0.4958 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02901/0.4944, allocations: 18.33 MB / 0.5137 GB, free: 7.949 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.4944, allocations: 0 / 0.5137 GB, free: 7.949 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4944, allocations: 0 / 0.5137 GB, free: 7.949 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005436/0.495, allocations: 0 / 0.5137 GB, free: 7.949 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.03994/0.5349, allocations: 10.67 MB / 0.5241 GB, free: 13.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.535, allocations: 8.031 kB / 0.5241 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003079/0.5353, allocations: 207.5 kB / 0.5243 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005734/0.541, allocations: 1.082 MB / 0.5254 GB, free: 11.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03566/0.5767, allocations: 5.907 MB / 0.5312 GB, free: 5.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01376/0.5904, allocations: 5.768 MB / 0.5368 GB, free: 164 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2445/0.8349, allocations: 0.5544 MB / 0.5373 GB, free: 91.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003396/0.8383, allocations: 0.7361 MB / 0.5381 GB, free: 91.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03049/0.8688, allocations: 13.04 MB / 0.5508 GB, free: 86.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002997/0.8691, allocations: 7.438 kB / 0.5508 GB, free: 86.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002363/0.8714, allocations: 314.5 kB / 0.5511 GB, free: 86.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004974/0.8719, allocations: 495.9 kB / 0.5516 GB, free: 86.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02121/0.8932, allocations: 12.62 MB / 0.5639 GB, free: 75.13 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06098/0.9541, allocations: 37.11 MB / 0.6001 GB, free: 37.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01457/0.9687, allocations: 8.537 MB / 0.6085 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004755/0.9735, allocations: 2.928 MB / 0.6113 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005011/0.974, allocations: 91.14 kB / 0.6114 GB, free: 27.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.998e-05/0.974, allocations: 77.78 kB / 0.6115 GB, free: 27.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 1.176e-05/0.974, allocations: 0 / 0.6115 GB, free: 27.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.04061/1.015, allocations: 16.94 MB / 0.628 GB, free: 10.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.77e-05/1.015, allocations: 98.66 kB / 0.6281 GB, free: 10.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005481/1.02, allocations: 2.84 MB / 0.6309 GB, free: 7.371 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008129/1.021, allocations: 101.6 kB / 0.631 GB, free: 7.266 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002052/1.023, allocations: 3.144 MB / 0.6341 GB, free: 4.113 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001905/1.025, allocations: 1.463 MB / 0.6355 GB, free: 2.668 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002908/1.028, allocations: 0.9544 MB / 0.6364 GB, free: 1.703 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.842e-05/1.028, allocations: 301.1 kB / 0.6367 GB, free: 1.406 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004787/1.033, allocations: 2.508 MB / 0.6392 GB, free: 14.89 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006735/1.039, allocations: 4.142 MB / 0.6432 GB, free: 10.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01241/1.052, allocations: 7.206 MB / 0.6502 GB, free: 2.09 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-05/1.052, allocations: 16 kB / 0.6503 GB, free: 2.074 MB / 462.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.02012/1.072, allocations: 8.026 MB / 0.6581 GB, free: 10.02 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001223/1.072, allocations: 28 kB / 0.6581 GB, free: 9.992 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001789/1.072, allocations: 48 kB / 0.6582 GB, free: 9.945 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004167/1.077, allocations: 1.229 MB / 0.6594 GB, free: 8.715 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005158/1.082, allocations: 1.135 MB / 0.6605 GB, free: 7.578 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01956/1.101, allocations: 10.87 MB / 0.6711 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004685/1.106, allocations: 271.8 kB / 0.6714 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001504/1.107, allocations: 236 kB / 0.6716 GB, free: 11.99 MB / 494.1 MB 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.01034/1.118, allocations: 2.951 MB / 0.6745 GB, free: 9.027 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00227/1.12, allocations: 373.6 kB / 0.6748 GB, free: 8.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01618/1.136, allocations: 6.67 MB / 0.6813 GB, free: 1.945 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.65e-05/1.136, allocations: 40 kB / 0.6814 GB, free: 1.906 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.019e-05/1.136, allocations: 12 kB / 0.6814 GB, free: 1.895 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.913e-05/1.136, allocations: 23.92 kB / 0.6814 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02975/1.166, allocations: 14.16 MB / 0.6952 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.04e-05/1.166, allocations: 8 kB / 0.6952 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003329/1.169, allocations: 0.7528 MB / 0.696 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004151/1.174, allocations: 1.128 MB / 0.6971 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008824/1.174, allocations: 95.97 kB / 0.6972 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01753/1.192, allocations: 9.793 MB / 0.7067 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.989e-06/1.192, allocations: 11.94 kB / 0.7068 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01963/1.212, allocations: 10.01 MB / 0.7165 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003195/1.215, allocations: 0.8994 MB / 0.7174 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009863/1.216, allocations: 84 kB / 0.7175 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002618/1.218, allocations: 199.8 kB / 0.7177 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008618/1.219, allocations: 319 kB / 0.718 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003182/1.22, allocations: 128 kB / 0.7181 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004235/1.224, allocations: 1.955 MB / 0.72 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/1.224, allocations: 4 kB / 0.72 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007819/1.232, allocations: 1.391 MB / 0.7214 GB, free: 8.539 MB / 0.5294 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.02284/1.255, allocations: 10.73 MB / 0.7319 GB, free: 13.67 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01507/1.27, allocations: 6.488 MB / 0.7382 GB, free: 7.156 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.079e-05/1.27, allocations: 7.938 kB / 0.7382 GB, free: 7.148 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008427/1.278, allocations: 3.314 MB / 0.7414 GB, free: 3.816 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005354/1.283, allocations: 0.8415 MB / 0.7423 GB, free: 3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3779/1.661, allocations: 47.2 MB / 0.7883 GB, free: 173 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00573/1.667, allocations: 4.605 MB / 0.7928 GB, free: 168.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004436/1.671, allocations: 1.615 MB / 0.7944 GB, free: 166.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004367/1.676, allocations: 2.678 MB / 0.797 GB, free: 164.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.312e-06/1.676, allocations: 0 / 0.797 GB, free: 164.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1838/1.86, allocations: 116.6 MB / 0.9109 GB, free: 48.24 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.35/21.21, allocations: 12.03 kB / 0.9109 GB, free: 48.23 MB / 0.545 GB " [Timeout remaining time 639] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 654] Reference file matches [Calling sys.exit(0), Time elapsed: 35.281681503984146]