Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SynchronousInductionMachines.SMR_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_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.001137/0.001137, allocations: 103.1 kB / 17.58 MB, free: 5.418 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.001622/0.001622, allocations: 191.9 kB / 18.51 MB, free: 4.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.1 MB / 224.4 MB, free: 12.29 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 48.14 kB / 280.8 MB, free: 3.07 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08405/0.08546, allocations: 46.63 MB / 327.4 MB, free: 4.371 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01178/0.09729, allocations: 10.14 MB / 337.5 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006216/0.1035, allocations: 3.272 MB / 340.8 MB, free: 6.887 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001701/0.1053, allocations: 51.75 kB / 340.8 MB, free: 6.836 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00214/0.1075, allocations: 0.6985 MB / 341.5 MB, free: 6.133 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002977/0.1105, allocations: 0.8386 MB / 342.4 MB, free: 5.289 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.1117, allocations: 403.4 kB / 342.8 MB, free: 4.895 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003668/0.1154, allocations: 2.969 MB / 345.7 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003543/0.1189, allocations: 2.445 MB / 348.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002236/0.1212, allocations: 1.328 MB / 349.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002907/0.1241, allocations: 1.701 MB / 351.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001058/0.1252, allocations: 352 kB / 351.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001576/0.1268, allocations: 459.8 kB / 352 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001568/0.1284, allocations: 1.017 MB / 353 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002947/0.1314, allocations: 1.606 MB / 354.6 MB, free: 8.941 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005796/0.1372, allocations: 4.619 MB / 359.3 MB, free: 4.309 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.1372, allocations: 0 / 359.3 MB, free: 4.309 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1372, allocations: 0 / 359.3 MB, free: 4.309 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001976/0.1374, allocations: 0 / 359.3 MB, free: 4.309 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: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.009229/0.1467, allocations: 3.268 MB / 362.5 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.1467, allocations: 15.95 kB / 362.5 MB, free: 0.957 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008558/0.1476, allocations: 337.6 kB / 362.9 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/0.1487, allocations: 321.3 kB / 363.2 MB, free: 308 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003241/0.152, allocations: 1.639 MB / 364.8 MB, free: 14.61 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/0.1522, allocations: 192.8 kB / 365 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005569/0.1528, allocations: 231.9 kB / 365.2 MB, free: 14.19 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005963/0.1588, allocations: 3.137 MB / 368.4 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.761e-05/0.1589, allocations: 3.906 kB / 368.4 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003142/0.1592, allocations: 99.98 kB / 368.5 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001124/0.1593, allocations: 104.6 kB / 368.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005032/0.1643, allocations: 2.696 MB / 371.3 MB, free: 8.043 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1682/0.3326, allocations: 9.717 MB / 381 MB, free: 48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002894/0.3355, allocations: 2.168 MB / 383.2 MB, free: 47.12 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001851/0.3374, allocations: 1.118 MB / 384.3 MB, free: 47.11 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002635/0.3376, allocations: 203.4 kB / 384.5 MB, free: 46.92 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.3377, allocations: 48.02 kB / 384.5 MB, free: 46.88 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 3.146e-06/0.3377, allocations: 0 / 384.5 MB, free: 46.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.01424/0.3519, allocations: 6.696 MB / 391.2 MB, free: 44.42 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.352, allocations: 65.16 kB / 391.3 MB, free: 44.36 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002406/0.3544, allocations: 1.743 MB / 393 MB, free: 43.71 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001503/0.3546, allocations: 47.2 kB / 393.1 MB, free: 43.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000619/0.3552, allocations: 1.16 MB / 394.2 MB, free: 42.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002997/0.3555, allocations: 447.2 kB / 394.7 MB, free: 42.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004204/0.356, allocations: 297 kB / 395 MB, free: 42.29 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.879e-05/0.356, allocations: 305.6 kB / 395.3 MB, free: 41.99 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.3572, allocations: 0.7898 MB / 396 MB, free: 41.73 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.3584, allocations: 1.206 MB / 397.3 MB, free: 40.96 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002226/0.3607, allocations: 2.094 MB / 399.3 MB, free: 39.77 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/0.3607, allocations: 5.344 kB / 399.4 MB, free: 39.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003765/0.3645, allocations: 2.668 MB / 402 MB, free: 38.35 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.3645, allocations: 11.31 kB / 402 MB, free: 38.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/0.3645, allocations: 15.33 kB / 402 MB, free: 38.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008541/0.3654, allocations: 423.8 kB / 402.5 MB, free: 38.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.3666, allocations: 364.3 kB / 402.8 MB, free: 38.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004992/0.3716, allocations: 7.072 MB / 409.9 MB, free: 31.22 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.3731, allocations: 107.8 kB / 410 MB, free: 31.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.3732, allocations: 64.55 kB / 410.1 MB, free: 31.05 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (174): * Single equations (assignments): 170 * 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 {(3,11,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.001165/0.3744, allocations: 0.7978 MB / 410.9 MB, free: 30.24 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002848/0.3747, allocations: 185.7 kB / 411 MB, free: 30.06 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003206/0.3779, allocations: 2.369 MB / 413.4 MB, free: 27.65 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.607e-06/0.3779, allocations: 18.67 kB / 413.4 MB, free: 27.63 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.3779, allocations: 4 kB / 413.4 MB, free: 27.63 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.378, allocations: 7.969 kB / 413.4 MB, free: 27.62 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006633/0.3846, allocations: 5.112 MB / 418.5 MB, free: 22.4 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.3846, allocations: 11.94 kB / 418.6 MB, free: 22.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000895/0.3855, allocations: 239.6 kB / 418.8 MB, free: 22.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009387/0.3865, allocations: 457.5 kB / 419.2 MB, free: 21.71 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.72e-05/0.3866, allocations: 39.98 kB / 419.3 MB, free: 21.67 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005682/0.3923, allocations: 8.636 MB / 427.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.3923, allocations: 4 kB / 427.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004447/0.3968, allocations: 3.526 MB / 431.4 MB, free: 8.879 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008503/0.3976, allocations: 434.7 kB / 431.9 MB, free: 8.434 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002472/0.3979, allocations: 35.98 kB / 431.9 MB, free: 8.398 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008949/0.3988, allocations: 79.91 kB / 432 MB, free: 8.32 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002509/0.3991, allocations: 120.7 kB / 432.1 MB, free: 8.203 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.105e-05/0.3991, allocations: 39.98 kB / 432.1 MB, free: 8.164 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001446/0.4006, allocations: 1.202 MB / 433.3 MB, free: 6.969 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4006, allocations: 0 / 433.3 MB, free: 6.969 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001685/0.4023, allocations: 0.5026 MB / 433.8 MB, free: 6.469 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.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 (115): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,100.0%), (1,6,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.004497/0.4068, allocations: 4.171 MB / 438 MB, free: 2.199 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004688/0.4115, allocations: 3.097 MB / 441.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.4115, allocations: 4.125 kB / 441.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002419/0.414, allocations: 1.618 MB / 442.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002194/0.4162, allocations: 483.5 kB / 443.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02861/0.4448, allocations: 21.51 MB / 464.7 MB, free: 5.812 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001871/0.4467, allocations: 2.005 MB / 466.7 MB, free: 3.773 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001439/0.4481, allocations: 439.5 kB / 467.1 MB, free: 3.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001236/0.4494, allocations: 0.9171 MB / 468.1 MB, free: 2.422 MB / 350.1 MB Notification: Performance of SimCode: time 1.512e-06/0.4494, allocations: 4 kB / 468.1 MB, free: 2.418 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1165/0.5659, allocations: 46.9 MB / 0.5029 GB, free: 3.375 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/11.09, allocations: 11.95 kB / 0.5029 GB, free: 3.363 MB / 398.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_DOL.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches