Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001144/0.001143, allocations: 200.5 kB / 17.43 MB, free: 4.113 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 229.5 MB / 247.7 MB, free: 6.297 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000813/0.0008132, allocations: 94.92 kB / 299.8 MB, free: 5.355 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003338/0.0003339, allocations: 4 kB / 360.6 MB, free: 8.484 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.263, allocations: 51.41 MB / 412.1 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.0066/0.2697, allocations: 7.863 MB / 419.9 MB, free: 18.03 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004661/0.2744, allocations: 3.273 MB / 423.2 MB, free: 14.63 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001118/0.2755, allocations: 39.81 kB / 423.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00142/0.277, allocations: 0.5361 MB / 423.8 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001786/0.2788, allocations: 0.6333 MB / 424.4 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006518/0.2794, allocations: 291.7 kB / 424.7 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002104/0.2815, allocations: 2.573 MB / 427.3 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00142/0.283, allocations: 1.414 MB / 428.7 MB, free: 9.086 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001781/0.2848, allocations: 0.8013 MB / 429.5 MB, free: 8.281 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00189/0.2867, allocations: 1.089 MB / 430.6 MB, free: 7.188 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002991/0.287, allocations: 116 kB / 430.7 MB, free: 7.074 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006417/0.2877, allocations: 215.8 kB / 430.9 MB, free: 6.863 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000479/0.2882, allocations: 0.5879 MB / 431.5 MB, free: 6.273 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008522/0.289, allocations: 1.035 MB / 432.5 MB, free: 5.227 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002064/0.2911, allocations: 3.301 MB / 435.8 MB, free: 1.914 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2911, allocations: 0 / 435.8 MB, free: 1.914 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2911, allocations: 4 kB / 435.8 MB, free: 1.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.806e-05/0.2912, allocations: 0 / 435.8 MB, free: 1.91 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.003651/0.2948, allocations: 2.129 MB / 437.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.2949, allocations: 15.97 kB / 438 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007077/0.2956, allocations: 250.2 kB / 438.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002002/0.2976, allocations: 1.266 MB / 439.5 MB, free: 14.15 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.2977, allocations: 131.9 kB / 439.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002714/0.298, allocations: 187.8 kB / 439.8 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003828/0.3018, allocations: 2.367 MB / 442.1 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.267e-05/0.3019, allocations: 4 kB / 442.1 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001546/0.3021, allocations: 72 kB / 442.2 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/0.3022, allocations: 91.5 kB / 442.3 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003258/0.3054, allocations: 1.977 MB / 444.3 MB, free: 9.293 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01039/0.3158, allocations: 7.187 MB / 451.5 MB, free: 1.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/0.3176, allocations: 1.276 MB / 452.7 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001463/0.3191, allocations: 0.8815 MB / 453.6 MB, free: 15.69 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002562/0.3194, allocations: 118.1 kB / 453.7 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.3194, allocations: 43.56 kB / 453.8 MB, free: 15.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=87): time 3.497e-06/0.3194, allocations: 0 / 453.8 MB, free: 15.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=104): time 0.01279/0.3322, allocations: 6.203 MB / 460 MB, free: 9.141 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.3323, allocations: 72.34 kB / 460.1 MB, free: 9.059 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001818/0.3341, allocations: 1.207 MB / 461.3 MB, free: 7.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.67e-05/0.3342, allocations: 49.7 kB / 461.3 MB, free: 7.785 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007295/0.335, allocations: 0.8651 MB / 462.2 MB, free: 6.906 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003368/0.3353, allocations: 358.8 kB / 462.5 MB, free: 6.551 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.3354, allocations: 28 kB / 462.6 MB, free: 6.523 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.3356, allocations: 353.9 kB / 462.9 MB, free: 6.172 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.3367, allocations: 0.6233 MB / 463.5 MB, free: 5.547 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/0.3379, allocations: 0.9264 MB / 464.5 MB, free: 4.492 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002177/0.3401, allocations: 1.647 MB / 466.1 MB, free: 2.723 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.3401, allocations: 4 kB / 466.1 MB, free: 2.719 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003469/0.3435, allocations: 2.231 MB / 468.3 MB, free: 452 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.3436, allocations: 12.72 kB / 468.3 MB, free: 440 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.3436, allocations: 8 kB / 468.4 MB, free: 432 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.3447, allocations: 472.2 kB / 468.8 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009558/0.3456, allocations: 279.6 kB / 469.1 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006255/0.3519, allocations: 6.428 MB / 475.5 MB, free: 8.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.3532, allocations: 91.97 kB / 475.6 MB, free: 8.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-05/0.3533, allocations: 48 kB / 475.7 MB, free: 8.703 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 3 systems {(2,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.001209/0.3545, allocations: 0.6011 MB / 476.3 MB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002695/0.3548, allocations: 142.4 kB / 476.4 MB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003345/0.3581, allocations: 2.035 MB / 478.4 MB, free: 5.879 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.998e-06/0.3581, allocations: 12 kB / 478.4 MB, free: 5.867 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.3582, allocations: 8 kB / 478.5 MB, free: 5.859 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.3582, allocations: 3.984 kB / 478.5 MB, free: 5.855 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006766/0.3649, allocations: 4.235 MB / 482.7 MB, free: 1.488 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.365, allocations: 4.469 kB / 482.7 MB, free: 1.484 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007592/0.3657, allocations: 191.6 kB / 482.9 MB, free: 1.297 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001315/0.3671, allocations: 0.5194 MB / 483.4 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.14e-05/0.3672, allocations: 35.98 kB / 483.4 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00726/0.3744, allocations: 7.92 MB / 491.4 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/0.3745, allocations: 4 kB / 491.4 MB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004678/0.3792, allocations: 2.974 MB / 494.3 MB, free: 5.191 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009162/0.3801, allocations: 351.3 kB / 494.7 MB, free: 4.828 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001783/0.3803, allocations: 20 kB / 494.7 MB, free: 4.809 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007471/0.3811, allocations: 79.92 kB / 494.8 MB, free: 4.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002518/0.3813, allocations: 92.75 kB / 494.9 MB, free: 4.641 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-05/0.3814, allocations: 35.98 kB / 494.9 MB, free: 4.605 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001226/0.3826, allocations: 0.8305 MB / 495.7 MB, free: 3.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3826, allocations: 0 / 495.7 MB, free: 3.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001543/0.3842, allocations: 407.9 kB / 496.1 MB, free: 3.371 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (88): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,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.0003724/0.3846, allocations: 191.1 kB / 496.3 MB, free: 3.176 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003378/0.388, allocations: 2.172 MB / 498.5 MB, free: 0.918 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.388, allocations: 2 kB / 498.5 MB, free: 0.918 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002193/0.3902, allocations: 1.487 MB / 500 MB, free: 15.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002309/0.3925, allocations: 368.7 kB / 0.4886 GB, free: 15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006583/0.3991, allocations: 4.865 MB / 0.4934 GB, free: 10.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/0.4004, allocations: 1.63 MB / 0.495 GB, free: 8.391 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009793/0.4013, allocations: 299.8 kB / 0.4952 GB, free: 8.094 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002565/0.4016, allocations: 95.42 kB / 0.4953 GB, free: 8 MB / 378.7 MB Notification: Performance of SimCode: time 7.31e-07/0.4016, allocations: 0 / 0.4953 GB, free: 8 MB / 378.7 MB Notification: Performance of Templates: time 0.2373/0.6389, allocations: 21.15 MB / 0.516 GB, free: 85.85 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches