Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_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.SMEE_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_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.001417/0.001417, allocations: 110.4 kB / 17.73 MB, free: 5.328 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.00106/0.00106, allocations: 183.1 kB / 18.66 MB, free: 4.402 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.428/1.428, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001384/0.001385, allocations: 51.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09783/0.09923, allocations: 46.62 MB / 374.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.2149/0.3142, allocations: 11.75 MB / 386.4 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007465/0.3217, allocations: 3.975 MB / 390.4 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002471/0.3243, allocations: 57 kB / 390.4 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00288/0.3272, allocations: 0.8822 MB / 391.3 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004294/0.3315, allocations: 1.025 MB / 392.3 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001982/0.3335, allocations: 0.5251 MB / 392.9 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005472/0.339, allocations: 3.453 MB / 396.3 MB, free: 1.113 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003852/0.3429, allocations: 2.669 MB / 399 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003453/0.3464, allocations: 1.54 MB / 400.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004275/0.3507, allocations: 1.934 MB / 402.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001349/0.3521, allocations: 408.6 kB / 402.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002437/0.3545, allocations: 0.6438 MB / 403.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001703/0.3563, allocations: 1.149 MB / 404.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003718/0.36, allocations: 1.836 MB / 406.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007832/0.3679, allocations: 5.39 MB / 411.9 MB, free: 8.605 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/0.3679, allocations: 2.719 kB / 411.9 MB, free: 8.605 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3679, allocations: 0 / 411.9 MB, free: 8.605 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002302/0.3681, allocations: 0 / 411.9 MB, free: 8.605 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.01044/0.3786, allocations: 3.803 MB / 415.7 MB, free: 5.992 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.3787, allocations: 12.88 kB / 415.7 MB, free: 5.988 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008015/0.3795, allocations: 387.3 kB / 416.1 MB, free: 5.703 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/0.3812, allocations: 447.1 kB / 416.5 MB, free: 5.492 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004303/0.3856, allocations: 1.866 MB / 418.4 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001946/0.3858, allocations: 209.3 kB / 418.6 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007431/0.3865, allocations: 275.9 kB / 418.9 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008047/0.3946, allocations: 3.513 MB / 422.4 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001177/0.3948, allocations: 7.984 kB / 422.4 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005375/0.3953, allocations: 112.1 kB / 422.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001882/0.3955, allocations: 121.3 kB / 422.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006921/0.4024, allocations: 2.968 MB / 425.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02267/0.4251, allocations: 11.01 MB / 436.6 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00347/0.4287, allocations: 2.274 MB / 438.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002257/0.431, allocations: 1.187 MB / 440 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003348/0.4313, allocations: 211.4 kB / 440.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/0.4314, allocations: 51.88 kB / 440.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=131): time 4.288e-06/0.4314, allocations: 0 / 440.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=148): time 0.01778/0.4492, allocations: 7.526 MB / 447.8 MB, free: 5.875 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.4493, allocations: 68.7 kB / 447.9 MB, free: 5.797 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003816/0.4531, allocations: 1.975 MB / 449.9 MB, free: 3.777 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002161/0.4533, allocations: 53.69 kB / 449.9 MB, free: 3.719 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001038/0.4544, allocations: 1.346 MB / 451.3 MB, free: 2.359 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005612/0.455, allocations: 0.5385 MB / 451.8 MB, free: 1.816 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006453/0.4556, allocations: 331.4 kB / 452.1 MB, free: 1.484 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.4558, allocations: 305.1 kB / 452.4 MB, free: 1.184 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001549/0.4573, allocations: 0.8822 MB / 453.3 MB, free: 308 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001907/0.4592, allocations: 1.372 MB / 454.7 MB, free: 14.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003625/0.4629, allocations: 2.382 MB / 457.1 MB, free: 12.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.762e-05/0.4629, allocations: 4 kB / 457.1 MB, free: 12.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005806/0.4687, allocations: 2.987 MB / 460.1 MB, free: 9.102 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/0.4688, allocations: 12 kB / 460.1 MB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.665e-05/0.4688, allocations: 16.38 kB / 460.1 MB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/0.4701, allocations: 458.2 kB / 460.5 MB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/0.4718, allocations: 427.3 kB / 460.9 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007243/0.479, allocations: 6.117 MB / 467.1 MB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/0.4816, allocations: 127.9 kB / 467.2 MB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000383/0.482, allocations: 71.98 kB / 467.3 MB, free: 1.605 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002532/0.4845, allocations: 0.8447 MB / 468.1 MB, free: 0.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008853/0.4854, allocations: 226.6 kB / 468.3 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005633/0.4911, allocations: 2.583 MB / 470.9 MB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.181e-05/0.4912, allocations: 20 kB / 470.9 MB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.98e-05/0.4912, allocations: 4 kB / 470.9 MB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-05/0.4912, allocations: 7.969 kB / 470.9 MB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01251/0.5037, allocations: 5.623 MB / 476.6 MB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.97e-05/0.5038, allocations: 4 kB / 476.6 MB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001246/0.505, allocations: 284.1 kB / 476.8 MB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001397/0.5065, allocations: 0.4905 MB / 477.3 MB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000142/0.5066, allocations: 39.98 kB / 477.4 MB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008529/0.5152, allocations: 7.685 MB / 485.1 MB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.5152, allocations: 4 kB / 485.1 MB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007105/0.5223, allocations: 3.848 MB / 488.9 MB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001539/0.5239, allocations: 491.5 kB / 489.4 MB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007124/0.5246, allocations: 35.98 kB / 489.4 MB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001625/0.5262, allocations: 107.9 kB / 489.5 MB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002984/0.5265, allocations: 121 kB / 489.6 MB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/0.5267, allocations: 43.98 kB / 489.7 MB, free: 10.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002964/0.5297, allocations: 1.363 MB / 491.1 MB, free: 9.043 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5297, allocations: 0 / 491.1 MB, free: 9.043 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003122/0.5328, allocations: 0.582 MB / 491.6 MB, free: 8.461 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 121 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,16,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.00745/0.5403, allocations: 4.53 MB / 496.2 MB, free: 3.828 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004976/0.5453, allocations: 2.623 MB / 498.8 MB, free: 1.156 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/0.5453, allocations: 4.875 kB / 498.8 MB, free: 1.152 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002896/0.5482, allocations: 1.607 MB / 0.4887 GB, free: 15.51 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003541/0.5518, allocations: 495 kB / 0.4891 GB, free: 15.03 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04352/0.5953, allocations: 21.8 MB / 0.5104 GB, free: 8.469 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003054/0.5984, allocations: 2.136 MB / 0.5125 GB, free: 6.301 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001874/0.6003, allocations: 465 kB / 0.513 GB, free: 5.844 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001841/0.6022, allocations: 1.066 MB / 0.514 GB, free: 4.777 MB / 446.1 MB Notification: Performance of SimCode: time 1.913e-06/0.6022, allocations: 0 / 0.514 GB, free: 4.777 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2919/0.8941, allocations: 53.25 MB / 0.566 GB, free: 152.4 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.45/15.35, allocations: 6.672 kB / 0.566 GB, free: 152.4 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_DOL.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_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/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches