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.001383/0.001383, allocations: 113.9 kB / 17.07 MB, free: 5.988 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.001568/0.001568, allocations: 196 kB / 18.01 MB, free: 5.066 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.413/1.413, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001069/0.001069, allocations: 47.94 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.273, allocations: 49.44 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01068/0.2837, allocations: 9.39 MB / 409.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005368/0.2891, allocations: 2.968 MB / 412.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00126/0.2904, allocations: 43.81 kB / 412.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001873/0.2923, allocations: 0.6405 MB / 413.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002452/0.2948, allocations: 0.761 MB / 414 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009332/0.2957, allocations: 351.5 kB / 414.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003125/0.2989, allocations: 2.661 MB / 417.1 MB, free: 7.941 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00304/0.3019, allocations: 2.147 MB / 419.2 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001933/0.3039, allocations: 1.191 MB / 420.4 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002635/0.3065, allocations: 1.487 MB / 421.9 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009133/0.3074, allocations: 308 kB / 422.2 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.3086, allocations: 399.8 kB / 422.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001229/0.3099, allocations: 0.8843 MB / 423.5 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001731/0.3116, allocations: 1.404 MB / 424.9 MB, free: 52 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003836/0.3154, allocations: 4.077 MB / 428.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3155, allocations: 4 kB / 428.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.079e-06/0.3155, allocations: 4 kB / 428.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.126e-05/0.3156, allocations: 3.938 kB / 428.9 MB, free: 11.95 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.005654/0.3212, allocations: 2.856 MB / 431.8 MB, free: 9.031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.3213, allocations: 12.03 kB / 431.8 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003765/0.3217, allocations: 291.5 kB / 432.1 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007312/0.3224, allocations: 289.7 kB / 432.4 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002585/0.325, allocations: 1.535 MB / 433.9 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.3251, allocations: 148.4 kB / 434.1 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002982/0.3254, allocations: 207.8 kB / 434.3 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004151/0.3296, allocations: 2.736 MB / 437 MB, free: 3.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.987e-05/0.3297, allocations: 0 / 437 MB, free: 3.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001814/0.3298, allocations: 91.98 kB / 437.1 MB, free: 3.578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.143e-05/0.3299, allocations: 95.92 kB / 437.2 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003777/0.3337, allocations: 2.322 MB / 439.5 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01338/0.3471, allocations: 8.317 MB / 447.8 MB, free: 8.598 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002048/0.3492, allocations: 1.776 MB / 449.6 MB, free: 6.703 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001919/0.3512, allocations: 1.082 MB / 450.7 MB, free: 5.625 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002316/0.3514, allocations: 122.1 kB / 450.8 MB, free: 5.484 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.3515, allocations: 47.56 kB / 450.8 MB, free: 5.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=104): time 3.226e-06/0.3515, allocations: 0 / 450.8 MB, free: 5.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=120): time 0.01256/0.364, allocations: 6.196 MB / 457 MB, free: 15.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.3641, allocations: 64.41 kB / 457.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002344/0.3665, allocations: 1.512 MB / 458.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.3666, allocations: 57.64 kB / 458.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007073/0.3673, allocations: 0.9834 MB / 459.7 MB, free: 12.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003519/0.3677, allocations: 421.9 kB / 460.1 MB, free: 12.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004039/0.3681, allocations: 247.5 kB / 460.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3682, allocations: 361.9 kB / 460.7 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/0.3694, allocations: 0.7299 MB / 461.4 MB, free: 10.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/0.3707, allocations: 1.063 MB / 462.5 MB, free: 9.516 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002728/0.3735, allocations: 1.875 MB / 464.3 MB, free: 7.512 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/0.3735, allocations: 4 kB / 464.3 MB, free: 7.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004238/0.3778, allocations: 2.349 MB / 466.7 MB, free: 5.137 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/0.3778, allocations: 8 kB / 466.7 MB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/0.3778, allocations: 12 kB / 466.7 MB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009916/0.3788, allocations: 409.8 kB / 467.1 MB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.38, allocations: 327.5 kB / 467.4 MB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005064/0.3851, allocations: 5.062 MB / 472.5 MB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.3864, allocations: 87.84 kB / 472.6 MB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001609/0.3866, allocations: 52 kB / 472.6 MB, free: 14.91 MB / 398.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.001262/0.3878, allocations: 0.7159 MB / 473.3 MB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004435/0.3883, allocations: 158 kB / 473.5 MB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00391/0.3922, allocations: 2.145 MB / 475.6 MB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/0.3922, allocations: 15.98 kB / 475.7 MB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.3923, allocations: 4 kB / 475.7 MB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.3923, allocations: 7.922 kB / 475.7 MB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008659/0.4009, allocations: 4.569 MB / 480.2 MB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/0.401, allocations: 0 / 480.2 MB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009696/0.402, allocations: 223.6 kB / 480.5 MB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001328/0.4033, allocations: 467 kB / 480.9 MB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001288/0.4034, allocations: 35.98 kB / 480.9 MB, free: 6.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007418/0.4109, allocations: 6.668 MB / 487.6 MB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.4109, allocations: 4.094 kB / 487.6 MB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005368/0.4163, allocations: 3.188 MB / 490.8 MB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/0.4173, allocations: 395 kB / 491.2 MB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003822/0.4177, allocations: 31.98 kB / 491.2 MB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009581/0.4187, allocations: 71.92 kB / 491.3 MB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002721/0.419, allocations: 112.7 kB / 491.4 MB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.4191, allocations: 39.98 kB / 491.4 MB, free: 11.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001843/0.4209, allocations: 1.044 MB / 492.5 MB, free: 10.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.421, allocations: 0 / 492.5 MB, free: 10.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001788/0.4228, allocations: 463.9 kB / 492.9 MB, free: 9.941 MB / 414.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.005606/0.4284, allocations: 3.814 MB / 496.8 MB, free: 6.059 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003829/0.4322, allocations: 2.274 MB / 499 MB, free: 3.715 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.4323, allocations: 0.5625 kB / 499 MB, free: 3.715 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002236/0.4345, allocations: 1.484 MB / 0.4888 GB, free: 2.168 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002257/0.4368, allocations: 445.1 kB / 0.4892 GB, free: 1.738 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02797/0.4648, allocations: 17.36 MB / 0.5062 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00196/0.4668, allocations: 1.815 MB / 0.5079 GB, free: 13.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001152/0.4679, allocations: 393.5 kB / 0.5083 GB, free: 13.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001154/0.4691, allocations: 0.8039 MB / 0.5091 GB, free: 12.76 MB / 446.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4691, allocations: 0 / 0.5091 GB, free: 12.76 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2861/0.7552, allocations: 43.2 MB / 0.5513 GB, free: 129.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.82/20.57, allocations: 8.391 kB / 0.5513 GB, free: 129.5 MB / 462.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