Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,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",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,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",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009323/0.0009323, allocations: 178.6 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 225.7 MB / 243.2 MB, free: 8.461 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000742/0.0007421, allocations: 99.88 kB / 294.4 MB, free: 9.512 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002523/0.0002523, allocations: 8 kB / 354.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2058, allocations: 50.41 MB / 404.6 MB, free: 31.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.006049/0.2119, allocations: 7.892 MB / 412.5 MB, free: 23.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004641/0.2166, allocations: 3.033 MB / 415.5 MB, free: 20.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001/0.2176, allocations: 43.81 kB / 415.5 MB, free: 20.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001292/0.2189, allocations: 0.5283 MB / 416.1 MB, free: 19.76 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001584/0.2205, allocations: 0.6645 MB / 416.7 MB, free: 19.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000509/0.2211, allocations: 279.7 kB / 417 MB, free: 18.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001789/0.2229, allocations: 2.736 MB / 419.7 MB, free: 16.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001248/0.2241, allocations: 1.445 MB / 421.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008385/0.225, allocations: 0.8284 MB / 422 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.226, allocations: 1.152 MB / 423.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001786/0.2262, allocations: 124 kB / 423.3 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004584/0.2266, allocations: 219.8 kB / 423.5 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004332/0.2271, allocations: 0.6073 MB / 424.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007577/0.2278, allocations: 1.078 MB / 425.2 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001809/0.2297, allocations: 3.453 MB / 428.6 MB, free: 7.086 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.2297, allocations: 0 / 428.6 MB, free: 7.086 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2297, allocations: 0 / 428.6 MB, free: 7.086 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.985e-05/0.2297, allocations: 0 / 428.6 MB, free: 7.086 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.003037/0.2328, allocations: 2.189 MB / 430.8 MB, free: 4.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.2328, allocations: 15.97 kB / 430.9 MB, free: 4.824 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000494/0.2333, allocations: 262.1 kB / 431.1 MB, free: 4.566 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/0.2349, allocations: 1.35 MB / 432.5 MB, free: 3.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.236e-05/0.2349, allocations: 139.9 kB / 432.6 MB, free: 3.023 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002092/0.2352, allocations: 184.1 kB / 432.8 MB, free: 2.844 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002986/0.2381, allocations: 2.398 MB / 435.2 MB, free: 420 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.038e-05/0.2382, allocations: 11.84 kB / 435.2 MB, free: 408 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001319/0.2383, allocations: 72 kB / 435.3 MB, free: 336 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.143e-05/0.2384, allocations: 87.48 kB / 435.3 MB, free: 248 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003053/0.2415, allocations: 2.02 MB / 437.4 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01036/0.2518, allocations: 7.51 MB / 444.9 MB, free: 6.496 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/0.2536, allocations: 1.283 MB / 446.2 MB, free: 5.145 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001529/0.2552, allocations: 0.9081 MB / 447.1 MB, free: 4.234 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000225/0.2554, allocations: 118.1 kB / 447.2 MB, free: 4.102 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.2554, allocations: 55.44 kB / 447.2 MB, free: 4.035 MB / 314.7 MB Notification: Performance of pre-optimization done (n=84): time 2.745e-06/0.2555, allocations: 0 / 447.2 MB, free: 4.035 MB / 314.7 MB Notification: Performance of matching and sorting (n=100): time 0.008709/0.2642, allocations: 4.912 MB / 452.1 MB, free: 15.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.2642, allocations: 60.41 kB / 452.2 MB, free: 14.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001829/0.2661, allocations: 1.365 MB / 453.6 MB, free: 13.58 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.649e-05/0.2662, allocations: 49.64 kB / 453.6 MB, free: 13.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006124/0.2668, allocations: 0.8931 MB / 454.5 MB, free: 12.61 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000258/0.267, allocations: 350.9 kB / 454.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/0.2671, allocations: 24 kB / 454.9 MB, free: 12.24 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.2673, allocations: 353.9 kB / 455.2 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009517/0.2682, allocations: 0.635 MB / 455.9 MB, free: 11.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/0.2694, allocations: 0.9336 MB / 456.8 MB, free: 10.2 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002294/0.2717, allocations: 1.656 MB / 458.4 MB, free: 8.426 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.2717, allocations: 0 / 458.4 MB, free: 8.426 MB / 330.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.00402/0.2757, allocations: 2.398 MB / 460.8 MB, free: 6.008 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.2758, allocations: 8 kB / 460.8 MB, free: 6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.2758, allocations: 12.25 kB / 460.9 MB, free: 5.988 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001802/0.2776, allocations: 0.708 MB / 461.6 MB, free: 5.273 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008698/0.2785, allocations: 239.6 kB / 461.8 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009315/0.2878, allocations: 8.001 MB / 469.8 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.2889, allocations: 87.81 kB / 469.9 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-05/0.289, allocations: 44 kB / 469.9 MB, free: 12.65 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009631/0.29, allocations: 0.6302 MB / 470.6 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/0.2902, allocations: 142.2 kB / 470.7 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002936/0.2931, allocations: 1.909 MB / 472.6 MB, free: 9.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.2931, allocations: 8 kB / 472.6 MB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.2931, allocations: 7.938 kB / 472.6 MB, free: 9.914 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.2932, allocations: 4.109 kB / 472.6 MB, free: 9.91 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005818/0.299, allocations: 4.026 MB / 476.7 MB, free: 5.797 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.299, allocations: 8.031 kB / 476.7 MB, free: 5.789 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007733/0.2998, allocations: 187.7 kB / 476.8 MB, free: 5.605 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001139/0.3009, allocations: 466.9 kB / 477.3 MB, free: 5.137 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-05/0.301, allocations: 23.98 kB / 477.3 MB, free: 5.113 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005622/0.3067, allocations: 6.144 MB / 483.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.3067, allocations: 4.031 kB / 483.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004041/0.3107, allocations: 2.798 MB / 486.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006255/0.3114, allocations: 359.3 kB / 486.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/0.3115, allocations: 27.92 kB / 486.7 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007242/0.3123, allocations: 75.92 kB / 486.7 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001941/0.3125, allocations: 76.89 kB / 486.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.61e-05/0.3126, allocations: 31.98 kB / 486.8 MB, free: 11.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001318/0.3139, allocations: 0.9387 MB / 487.8 MB, free: 10.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3139, allocations: 0 / 487.8 MB, free: 10.19 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001215/0.3151, allocations: 436.1 kB / 488.2 MB, free: 9.766 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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],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 (84): * Single equations (assignments): 80 * 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.0003575/0.3155, allocations: 185.3 kB / 488.4 MB, free: 9.578 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003047/0.3185, allocations: 2.011 MB / 490.4 MB, free: 7.539 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3185, allocations: 0 / 490.4 MB, free: 7.539 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001862/0.3204, allocations: 1.36 MB / 491.7 MB, free: 6.121 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/0.3222, allocations: 367.3 kB / 492.1 MB, free: 5.766 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006199/0.3284, allocations: 4.975 MB / 497.1 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/0.3296, allocations: 1.693 MB / 498.8 MB, free: 15 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009132/0.3305, allocations: 316 kB / 499.1 MB, free: 14.69 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002565/0.3308, allocations: 91.42 kB / 499.2 MB, free: 14.6 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.3308, allocations: 0 / 499.2 MB, free: 14.6 MB / 378.7 MB Notification: Performance of Templates: time 0.1856/0.5165, allocations: 22.69 MB / 0.5096 GB, free: 89.71 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches