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.001803/0.001803, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002432/0.002432, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.001722/0.001722, allocations: 43.92 kB / 377.8 MB, free: 3.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3103, allocations: 53.36 MB / 431.2 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02651/0.3368, allocations: 21.7 MB / 452.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01633/0.3531, allocations: 6.835 MB / 459.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005976/0.3591, allocations: 171.2 kB / 459.9 MB, free: 10 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01772/0.3768, allocations: 6.92 MB / 466.8 MB, free: 3.066 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01066/0.3875, allocations: 2.885 MB / 469.7 MB, free: 176 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005443/0.3929, allocations: 1.618 MB / 471.3 MB, free: 14.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01523/0.4081, allocations: 9.177 MB / 480.5 MB, free: 5.359 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02425/0.4324, allocations: 11.07 MB / 491.5 MB, free: 10.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009017/0.4414, allocations: 4.766 MB / 496.3 MB, free: 5.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009523/0.4509, allocations: 5.245 MB / 0.4898 GB, free: 116 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004291/0.4552, allocations: 1.359 MB / 0.4911 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005683/0.4609, allocations: 1.707 MB / 0.4928 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005481/0.4664, allocations: 2.623 MB / 0.4954 GB, free: 10.42 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01355/0.4799, allocations: 4.962 MB / 0.5002 GB, free: 5.438 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02647/0.5064, allocations: 18.25 MB / 0.518 GB, free: 3.129 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.5064, allocations: 0 / 0.518 GB, free: 3.129 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5064, allocations: 0 / 0.518 GB, free: 3.129 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005726/0.507, allocations: 0 / 0.518 GB, free: 3.129 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.03578/0.5428, allocations: 10.66 MB / 0.5284 GB, free: 8.383 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.826e-05/0.5428, allocations: 12.03 kB / 0.5284 GB, free: 8.371 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004803/0.5476, allocations: 1.086 MB / 0.5295 GB, free: 7.273 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03447/0.5821, allocations: 5.907 MB / 0.5353 GB, free: 1.355 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2786/0.8607, allocations: 5.769 MB / 0.5409 GB, free: 85.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004096/0.8611, allocations: 0.558 MB / 0.5415 GB, free: 85.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00285/0.8639, allocations: 0.7326 MB / 0.5422 GB, free: 85.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03124/0.8952, allocations: 12.89 MB / 0.5548 GB, free: 80.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005053/0.8957, allocations: 9.719 kB / 0.5548 GB, free: 80.22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003102/0.8988, allocations: 307 kB / 0.5551 GB, free: 79.99 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004779/0.8993, allocations: 498.7 kB / 0.5555 GB, free: 79.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02453/0.9238, allocations: 12.63 MB / 0.5679 GB, free: 69.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06847/0.9923, allocations: 40.54 MB / 0.6075 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01301/1.005, allocations: 8.61 MB / 0.6159 GB, free: 21.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004425/1.01, allocations: 2.918 MB / 0.6187 GB, free: 18.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004842/1.01, allocations: 121.6 kB / 0.6188 GB, free: 18.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.214e-05/1.01, allocations: 73.78 kB / 0.6189 GB, free: 18.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 6.002e-06/1.01, allocations: 0 / 0.6189 GB, free: 18.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.03664/1.047, allocations: 16.94 MB / 0.6354 GB, free: 1.773 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/1.047, allocations: 94.67 kB / 0.6355 GB, free: 1.668 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004608/1.052, allocations: 2.848 MB / 0.6383 GB, free: 14.81 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004952/1.052, allocations: 93.7 kB / 0.6384 GB, free: 14.71 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002456/1.055, allocations: 3.14 MB / 0.6415 GB, free: 11.56 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001586/1.056, allocations: 1.469 MB / 0.6429 GB, free: 10.11 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001546/1.058, allocations: 0.9505 MB / 0.6438 GB, free: 9.148 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/1.058, allocations: 301.1 kB / 0.6441 GB, free: 8.852 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004148/1.062, allocations: 2.508 MB / 0.6466 GB, free: 6.336 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005592/1.068, allocations: 4.117 MB / 0.6506 GB, free: 1.496 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01185/1.079, allocations: 7.21 MB / 0.6576 GB, free: 9.566 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.105e-05/1.079, allocations: 15.94 kB / 0.6576 GB, free: 9.551 MB / 478.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01819/1.098, allocations: 8.031 MB / 0.6655 GB, free: 1.492 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.163e-05/1.098, allocations: 26.03 kB / 0.6655 GB, free: 1.469 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001044/1.098, allocations: 59.92 kB / 0.6656 GB, free: 1.41 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003724/1.102, allocations: 1.223 MB / 0.6668 GB, free: 188 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004827/1.106, allocations: 1.139 MB / 0.6679 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01914/1.125, allocations: 11.03 MB / 0.6787 GB, free: 3.785 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004235/1.13, allocations: 275.6 kB / 0.6789 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001204/1.131, allocations: 236 kB / 0.6791 GB, free: 3.285 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.007213/1.138, allocations: 2.956 MB / 0.682 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001654/1.14, allocations: 365.9 kB / 0.6824 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01673/1.157, allocations: 6.678 MB / 0.6889 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.73e-05/1.157, allocations: 44 kB / 0.6889 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.458e-05/1.157, allocations: 8 kB / 0.6889 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.863e-05/1.157, allocations: 19.92 kB / 0.689 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03478/1.191, allocations: 14.87 MB / 0.7035 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.564e-05/1.192, allocations: 4 kB / 0.7035 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00368/1.195, allocations: 0.7567 MB / 0.7042 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003786/1.199, allocations: 1.128 MB / 0.7053 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008591/1.2, allocations: 104 kB / 0.7054 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01671/1.217, allocations: 9.954 MB / 0.7152 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.796e-06/1.217, allocations: 8 kB / 0.7152 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0218/1.238, allocations: 10.01 MB / 0.7249 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003351/1.242, allocations: 0.8879 MB / 0.7258 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001274/1.243, allocations: 87.98 kB / 0.7259 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002727/1.246, allocations: 199.8 kB / 0.7261 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001039/1.247, allocations: 319.1 kB / 0.7264 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005628/1.247, allocations: 127.9 kB / 0.7265 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004829/1.252, allocations: 1.955 MB / 0.7284 GB, free: 332 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/1.252, allocations: 0 / 0.7284 GB, free: 332 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007205/1.259, allocations: 1.395 MB / 0.7298 GB, free: 14.93 MB / 0.545 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.02099/1.28, allocations: 10.74 MB / 0.7403 GB, free: 4.051 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.4884/1.769, allocations: 6.489 MB / 0.7466 GB, free: 191 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.647e-05/1.769, allocations: 1.594 kB / 0.7466 GB, free: 191 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007395/1.776, allocations: 3.316 MB / 0.7499 GB, free: 190.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004488/1.781, allocations: 0.8396 MB / 0.7507 GB, free: 190.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.103/1.884, allocations: 47.2 MB / 0.7968 GB, free: 154.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007951/1.892, allocations: 5.084 MB / 0.8017 GB, free: 149.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004228/1.896, allocations: 1.618 MB / 0.8033 GB, free: 148.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003522/1.899, allocations: 2.682 MB / 0.8059 GB, free: 145.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.633e-06/1.899, allocations: 0 / 0.8059 GB, free: 145.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1721/2.071, allocations: 116.3 MB / 0.9195 GB, free: 29.71 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.37/22.44, allocations: 11.92 kB / 0.9195 GB, free: 29.7 MB / 0.545 GB " [Timeout remaining time 637] (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: 30.523502747062594]