Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",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.001645/0.001645, allocations: 108.3 kB / 16.92 MB, free: 6.145 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.001941/0.001941, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.531/1.531, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.00119, allocations: 48.36 kB / 300.7 MB, free: 5.777 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1287, allocations: 49.45 MB / 350.2 MB, free: 4.32 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01287/0.1416, allocations: 9.377 MB / 359.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007077/0.1488, allocations: 2.979 MB / 362.5 MB, free: 7.902 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001939/0.1507, allocations: 47.81 kB / 362.6 MB, free: 7.855 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002579/0.1534, allocations: 0.6249 MB / 363.2 MB, free: 7.227 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004097/0.1575, allocations: 0.7649 MB / 364 MB, free: 6.457 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.1589, allocations: 355.5 kB / 364.3 MB, free: 6.109 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004251/0.1632, allocations: 2.646 MB / 367 MB, free: 3.449 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003583/0.1668, allocations: 2.147 MB / 369.1 MB, free: 1.238 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002174/0.169, allocations: 1.184 MB / 370.3 MB, free: 52 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2236/0.3926, allocations: 1.488 MB / 371.8 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00178/0.3945, allocations: 310.6 kB / 372.1 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001929/0.3964, allocations: 395.8 kB / 372.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001931/0.3984, allocations: 0.8896 MB / 373.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003368/0.4018, allocations: 1.404 MB / 374.8 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007221/0.409, allocations: 4.033 MB / 378.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.4091, allocations: 2 kB / 378.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4091, allocations: 0 / 378.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000216/0.4093, allocations: 2 kB / 378.8 MB, free: 12.14 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01173/0.421, allocations: 2.862 MB / 381.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.483e-05/0.4211, allocations: 9.156 kB / 381.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001545/0.4227, allocations: 296.9 kB / 382 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001572/0.4243, allocations: 292.2 kB / 382.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003616/0.4279, allocations: 1.485 MB / 383.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.4281, allocations: 151.2 kB / 383.9 MB, free: 9.492 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003827/0.4285, allocations: 206.4 kB / 384.1 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005516/0.434, allocations: 2.735 MB / 386.8 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.63e-05/0.4341, allocations: 8.125 kB / 386.8 MB, free: 8.258 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002061/0.4343, allocations: 81.16 kB / 386.9 MB, free: 8.195 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000111/0.4344, allocations: 91.64 kB / 387 MB, free: 8.184 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004186/0.4386, allocations: 2.329 MB / 389.3 MB, free: 7.004 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01291/0.4515, allocations: 8.413 MB / 397.7 MB, free: 1.086 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001797/0.4534, allocations: 1.779 MB / 399.5 MB, free: 15.81 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001784/0.4552, allocations: 1.063 MB / 400.6 MB, free: 15.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002524/0.4554, allocations: 120.8 kB / 400.7 MB, free: 15.22 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.426e-05/0.4555, allocations: 49.28 kB / 400.7 MB, free: 15.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 3.466e-06/0.4555, allocations: 0 / 400.7 MB, free: 15.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=120): time 0.01375/0.4693, allocations: 6.204 MB / 406.9 MB, free: 9.668 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.4693, allocations: 64.41 kB / 407 MB, free: 9.594 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002653/0.472, allocations: 1.524 MB / 408.5 MB, free: 8.059 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.4721, allocations: 45.7 kB / 408.6 MB, free: 8.008 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000728/0.4729, allocations: 0.9782 MB / 409.6 MB, free: 7.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003543/0.4732, allocations: 416.7 kB / 410 MB, free: 6.617 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004654/0.4737, allocations: 255.3 kB / 410.2 MB, free: 6.363 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.4739, allocations: 357.9 kB / 410.6 MB, free: 6.008 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001428/0.4753, allocations: 0.7339 MB / 411.3 MB, free: 5.273 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00183/0.4772, allocations: 1.058 MB / 412.4 MB, free: 4.09 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002861/0.48, allocations: 1.873 MB / 414.2 MB, free: 2.121 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/0.4801, allocations: 3.984 kB / 414.2 MB, free: 2.117 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004164/0.4842, allocations: 2.355 MB / 416.6 MB, free: 15.8 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.47e-05/0.4843, allocations: 11.94 kB / 416.6 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/0.4843, allocations: 8 kB / 416.6 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009937/0.4853, allocations: 414.5 kB / 417 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.4866, allocations: 326.4 kB / 417.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005588/0.4922, allocations: 5.074 MB / 422.4 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/0.4936, allocations: 87.91 kB / 422.5 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001718/0.4938, allocations: 55.94 kB / 422.5 MB, free: 9.605 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001433/0.4953, allocations: 0.7088 MB / 423.3 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006083/0.4959, allocations: 166 kB / 423.4 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004992/0.5009, allocations: 2.135 MB / 425.5 MB, free: 6.582 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.5009, allocations: 12 kB / 425.6 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.58e-05/0.501, allocations: 4 kB / 425.6 MB, free: 6.566 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/0.501, allocations: 11.97 kB / 425.6 MB, free: 6.555 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01118/0.5122, allocations: 4.576 MB / 430.2 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/0.5122, allocations: 8.062 kB / 430.2 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/0.5134, allocations: 221.6 kB / 430.4 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001328/0.5147, allocations: 470.9 kB / 430.8 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001263/0.5149, allocations: 35.92 kB / 430.9 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006878/0.5218, allocations: 6.686 MB / 437.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.5218, allocations: 0 / 437.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006106/0.5279, allocations: 3.18 MB / 440.7 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/0.5293, allocations: 395 kB / 441.1 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005962/0.5299, allocations: 31.98 kB / 441.2 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/0.5312, allocations: 79.92 kB / 441.2 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003321/0.5315, allocations: 108.4 kB / 441.3 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/0.5316, allocations: 35.98 kB / 441.4 MB, free: 6.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002432/0.5341, allocations: 1.044 MB / 442.4 MB, free: 5.227 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5341, allocations: 3.938 kB / 442.4 MB, free: 5.223 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002482/0.5366, allocations: 468 kB / 442.9 MB, free: 4.766 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(2,12,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.006239/0.5428, allocations: 3.818 MB / 446.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005598/0.5485, allocations: 2.826 MB / 449.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.5485, allocations: 0 / 449.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00266/0.5512, allocations: 1.484 MB / 451 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003538/0.5547, allocations: 434.2 kB / 451.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03624/0.591, allocations: 19.01 MB / 470.4 MB, free: 8.105 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001889/0.5929, allocations: 1.819 MB / 472.3 MB, free: 6.254 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001293/0.5942, allocations: 397.5 kB / 472.6 MB, free: 5.859 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/0.5954, allocations: 0.8 MB / 473.4 MB, free: 5.062 MB / 382.1 MB Notification: Performance of SimCode: time 6.92e-07/0.5954, allocations: 0 / 473.4 MB, free: 5.062 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1076/0.703, allocations: 42.38 MB / 0.5037 GB, free: 11.13 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.48, allocations: 14.33 kB / 0.5038 GB, free: 11.12 MB / 430.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches