Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001152/0.001153, allocations: 177.5 kB / 17.36 MB, free: 4.195 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.6 MB / 223.7 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009231/0.0009233, allocations: 102.5 kB / 272.1 MB, free: 8.105 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002811/0.0002811, allocations: 4 kB / 329 MB, free: 15.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3339, allocations: 47.58 MB / 376.6 MB, free: 45.6 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.01089/0.3448, allocations: 9.107 MB / 385.7 MB, free: 38.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008185/0.3531, allocations: 3.706 MB / 389.4 MB, free: 35.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001927/0.3551, allocations: 46.78 kB / 389.5 MB, free: 35.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002084/0.3572, allocations: 0.6681 MB / 390.1 MB, free: 34.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002909/0.3601, allocations: 0.7516 MB / 390.9 MB, free: 34.08 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000862/0.361, allocations: 371.6 kB / 391.3 MB, free: 33.72 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002849/0.3638, allocations: 3.109 MB / 394.4 MB, free: 30.6 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002004/0.3659, allocations: 1.985 MB / 396.3 MB, free: 28.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001555/0.3674, allocations: 0.9684 MB / 397.3 MB, free: 27.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001489/0.3689, allocations: 1.326 MB / 398.6 MB, free: 26.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002334/0.3692, allocations: 144 kB / 398.8 MB, free: 26.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006239/0.3698, allocations: 255.8 kB / 399 MB, free: 25.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000564/0.3704, allocations: 0.7085 MB / 399.7 MB, free: 25.15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001073/0.3715, allocations: 1.276 MB / 401 MB, free: 23.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002793/0.3743, allocations: 4.087 MB / 405.1 MB, free: 19.76 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.3743, allocations: 4 kB / 405.1 MB, free: 19.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.267e-06/0.3743, allocations: 4 kB / 405.1 MB, free: 19.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.791e-05/0.3744, allocations: 0 / 405.1 MB, free: 19.75 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.004526/0.3789, allocations: 2.595 MB / 407.7 MB, free: 17.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.379, allocations: 8.031 kB / 407.7 MB, free: 17.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006963/0.3797, allocations: 309.5 kB / 408 MB, free: 16.78 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002089/0.3818, allocations: 1.512 MB / 409.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.3819, allocations: 188.5 kB / 409.7 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002595/0.3822, allocations: 223.9 kB / 409.9 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004151/0.3863, allocations: 2.905 MB / 412.8 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.725e-05/0.3864, allocations: 0 / 412.8 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001735/0.3866, allocations: 95.98 kB / 412.9 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-05/0.3867, allocations: 112.3 kB / 413 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003473/0.3902, allocations: 2.437 MB / 415.5 MB, free: 9.152 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01167/0.4018, allocations: 9.152 MB / 424.6 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002391/0.4043, allocations: 1.713 MB / 426.3 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001711/0.406, allocations: 0.9995 MB / 427.3 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003035/0.4063, allocations: 211.1 kB / 427.5 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/0.4064, allocations: 43.56 kB / 427.6 MB, free: 12.59 MB / 314.7 MB Notification: Performance of pre-optimization done (n=105): time 5.009e-06/0.4064, allocations: 7.984 kB / 427.6 MB, free: 12.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=122): time 0.01479/0.4212, allocations: 6.66 MB / 434.3 MB, free: 5.754 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.4213, allocations: 64.41 kB / 434.3 MB, free: 5.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002432/0.4237, allocations: 1.549 MB / 435.9 MB, free: 4.121 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.448e-05/0.4238, allocations: 45.7 kB / 435.9 MB, free: 4.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008363/0.4247, allocations: 1.108 MB / 437 MB, free: 2.945 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003732/0.4251, allocations: 425.8 kB / 437.4 MB, free: 2.523 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.964e-05/0.4251, allocations: 32 kB / 437.5 MB, free: 2.492 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.4253, allocations: 373.8 kB / 437.8 MB, free: 2.121 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/0.4265, allocations: 0.7066 MB / 438.5 MB, free: 1.414 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001524/0.4281, allocations: 1.151 MB / 439.7 MB, free: 84 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002897/0.431, allocations: 1.976 MB / 441.7 MB, free: 13.92 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.156e-06/0.431, allocations: 4 kB / 441.7 MB, free: 13.92 MB / 330.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004463/0.4355, allocations: 2.522 MB / 444.2 MB, free: 11.35 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.114e-05/0.4355, allocations: 12 kB / 444.2 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/0.4356, allocations: 15.98 kB / 444.2 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/0.4367, allocations: 431.3 kB / 444.6 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.4379, allocations: 355.5 kB / 445 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007751/0.4457, allocations: 6.557 MB / 451.5 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.4469, allocations: 111.8 kB / 451.7 MB, free: 3.477 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/0.4471, allocations: 63.98 kB / 451.7 MB, free: 3.414 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (169): * Single equations (assignments): 165 * 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,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.001421/0.4485, allocations: 0.717 MB / 452.4 MB, free: 2.688 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003956/0.4489, allocations: 165.9 kB / 452.6 MB, free: 2.523 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004139/0.453, allocations: 2.21 MB / 454.8 MB, free: 272 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.4531, allocations: 12 kB / 454.8 MB, free: 260 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.669e-05/0.4531, allocations: 8 kB / 454.8 MB, free: 252 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.4531, allocations: 7.969 kB / 454.8 MB, free: 244 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009614/0.4627, allocations: 4.801 MB / 459.6 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/0.4628, allocations: 7.938 kB / 459.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009582/0.4638, allocations: 224.2 kB / 459.9 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001252/0.465, allocations: 462.8 kB / 460.3 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/0.4652, allocations: 31.98 kB / 460.3 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009194/0.4744, allocations: 7.971 MB / 468.3 MB, free: 2.051 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.334e-05/0.4744, allocations: 11.97 kB / 468.3 MB, free: 2.039 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006809/0.4813, allocations: 3.236 MB / 471.6 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001333/0.4826, allocations: 402.9 kB / 472 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005729/0.4832, allocations: 35.98 kB / 472 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/0.4845, allocations: 95.84 kB / 472.1 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000317/0.4849, allocations: 100.7 kB / 472.2 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/0.485, allocations: 47.92 kB / 472.2 MB, free: 14.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002569/0.4876, allocations: 1.055 MB / 473.3 MB, free: 12.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.4876, allocations: 3.938 kB / 473.3 MB, free: 12.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00238/0.49, allocations: 484 kB / 473.8 MB, free: 12.49 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],smpm.idq_rr[2],smpm.idq_dr[1],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 (108): * Single equations (assignments): 104 * 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,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.0004874/0.4905, allocations: 199.1 kB / 474 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004065/0.4946, allocations: 2.293 MB / 476.3 MB, free: 9.934 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/0.4946, allocations: 4 kB / 476.3 MB, free: 9.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002586/0.4972, allocations: 1.482 MB / 477.7 MB, free: 8.395 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003769/0.501, allocations: 453.7 kB / 478.2 MB, free: 7.949 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.512, allocations: 5.869 MB / 484 MB, free: 1.996 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002572/0.5147, allocations: 1.867 MB / 485.9 MB, free: 96 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001822/0.5165, allocations: 390.9 kB / 486.3 MB, free: 15.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005669/0.5171, allocations: 123.4 kB / 486.4 MB, free: 15.59 MB / 378.7 MB Notification: Performance of SimCode: time 1.552e-06/0.5171, allocations: 0 / 486.4 MB, free: 15.59 MB / 378.7 MB Notification: Performance of Templates: time 0.2616/0.7787, allocations: 24.93 MB / 0.4994 GB, free: 101.5 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_Inverter/SMPM_Inverter.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches