Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 114 kB / 17.06 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 198.9 kB / 18 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 43.92 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3191, allocations: 49.44 MB / 400.3 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.009466/0.3286, allocations: 8.84 MB / 409.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005434/0.3341, allocations: 2.824 MB / 411.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001126/0.3353, allocations: 43.81 kB / 412 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001674/0.337, allocations: 0.5938 MB / 412.6 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002215/0.3392, allocations: 0.7105 MB / 413.3 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007733/0.34, allocations: 319.5 kB / 413.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002542/0.3426, allocations: 2.222 MB / 415.8 MB, free: 9.215 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002336/0.3449, allocations: 1.746 MB / 417.5 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001579/0.3465, allocations: 1.024 MB / 418.6 MB, free: 6.391 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002342/0.3489, allocations: 1.281 MB / 419.8 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008347/0.3497, allocations: 268 kB / 420.1 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/0.3512, allocations: 359.8 kB / 420.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001268/0.3525, allocations: 0.7558 MB / 421.2 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002109/0.3546, allocations: 1.206 MB / 422.4 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004558/0.3592, allocations: 3.528 MB / 425.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.3592, allocations: 0 / 425.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3592, allocations: 0 / 425.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.513e-05/0.3593, allocations: 0 / 425.9 MB, free: 14.98 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.006718/0.366, allocations: 2.481 MB / 428.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/0.3661, allocations: 12.03 kB / 428.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003486/0.3665, allocations: 266 kB / 428.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007497/0.3672, allocations: 246.2 kB / 428.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002233/0.3695, allocations: 1.321 MB / 430.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.346e-05/0.3696, allocations: 131.9 kB / 430.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002495/0.3698, allocations: 183.8 kB / 430.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003574/0.3734, allocations: 2.378 MB / 433 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.766e-05/0.3735, allocations: 4 kB / 433 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001536/0.3736, allocations: 72 kB / 433 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.689e-05/0.3737, allocations: 95.44 kB / 433.1 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003045/0.3768, allocations: 1.966 MB / 435.1 MB, free: 5.699 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009819/0.3866, allocations: 7.058 MB / 442.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/0.3884, allocations: 1.282 MB / 443.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001469/0.3899, allocations: 0.862 MB / 444.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002152/0.3901, allocations: 114.1 kB / 444.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.3901, allocations: 43.56 kB / 444.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.625e-06/0.3901, allocations: 0 / 444.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.01366/0.4038, allocations: 6.101 MB / 450.5 MB, free: 5.797 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.4039, allocations: 60.41 kB / 450.6 MB, free: 5.723 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001945/0.4059, allocations: 1.211 MB / 451.8 MB, free: 4.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.406, allocations: 45.7 kB / 451.9 MB, free: 4.449 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005914/0.4066, allocations: 0.8651 MB / 452.7 MB, free: 3.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003122/0.4069, allocations: 370.7 kB / 453.1 MB, free: 3.203 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003665/0.4073, allocations: 214.8 kB / 453.3 MB, free: 2.988 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.4074, allocations: 361.9 kB / 453.6 MB, free: 2.629 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.4085, allocations: 0.6193 MB / 454.3 MB, free: 2.008 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/0.4098, allocations: 0.9149 MB / 455.2 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00242/0.4123, allocations: 1.643 MB / 456.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.864e-06/0.4123, allocations: 0 / 456.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003948/0.4163, allocations: 2.231 MB / 459.1 MB, free: 12.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.4163, allocations: 8 kB / 459.1 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/0.4163, allocations: 12 kB / 459.1 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.4175, allocations: 478.2 kB / 459.5 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009569/0.4184, allocations: 271.6 kB / 459.8 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006424/0.4249, allocations: 7.008 MB / 466.8 MB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/0.426, allocations: 83.83 kB / 466.9 MB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/0.4261, allocations: 47.98 kB / 466.9 MB, free: 4.609 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001005/0.4271, allocations: 0.5951 MB / 467.5 MB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003159/0.4275, allocations: 138.3 kB / 467.7 MB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003412/0.4309, allocations: 2.028 MB / 469.7 MB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.4309, allocations: 12 kB / 469.7 MB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.4309, allocations: 4 kB / 469.7 MB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.4309, allocations: 3.984 kB / 469.7 MB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007169/0.4381, allocations: 4.215 MB / 473.9 MB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.4381, allocations: 4 kB / 473.9 MB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00077/0.4389, allocations: 183.7 kB / 474.1 MB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001439/0.4404, allocations: 0.5154 MB / 474.6 MB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.965e-05/0.4405, allocations: 31.98 kB / 474.7 MB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00788/0.4484, allocations: 8.641 MB / 483.3 MB, free: 3.477 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.4484, allocations: 4 kB / 483.3 MB, free: 3.473 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004887/0.4533, allocations: 2.949 MB / 486.3 MB, free: 436 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/0.4544, allocations: 335.4 kB / 486.6 MB, free: 80 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005206/0.455, allocations: 35.92 kB / 486.6 MB, free: 44 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/0.4562, allocations: 71.92 kB / 486.7 MB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000309/0.4565, allocations: 88.81 kB / 486.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.4566, allocations: 43.92 kB / 486.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001643/0.4583, allocations: 0.8343 MB / 487.7 MB, free: 15 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4583, allocations: 0 / 487.7 MB, free: 15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001702/0.46, allocations: 408.1 kB / 488.1 MB, free: 14.61 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,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 (88): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005187/0.4652, allocations: 3.58 MB / 491.6 MB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003386/0.4686, allocations: 2.169 MB / 493.8 MB, free: 8.664 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.004e-06/0.4687, allocations: 8.062 kB / 493.8 MB, free: 8.656 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002168/0.4708, allocations: 1.467 MB / 495.3 MB, free: 7.117 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001971/0.4728, allocations: 388.9 kB / 495.7 MB, free: 6.746 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02357/0.4964, allocations: 15.06 MB / 0.4987 GB, free: 7.09 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001484/0.4979, allocations: 1.63 MB / 0.5003 GB, free: 5.426 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009786/0.4989, allocations: 299.8 kB / 0.5006 GB, free: 5.129 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009255/0.4999, allocations: 0.6867 MB / 0.5013 GB, free: 4.441 MB / 430.1 MB Notification: Performance of SimCode: time 1.202e-06/0.4999, allocations: 3.938 kB / 0.5013 GB, free: 4.438 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.032/3.532, allocations: 37.77 MB / 0.5382 GB, free: 130.3 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 21.83/25.36, allocations: 5.906 kB / 0.5382 GB, free: 130.3 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches