Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009377/0.0009377, allocations: 183.2 kB / 16.71 MB, free: 4.973 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.259/1.259, allocations: 225.7 MB / 243.2 MB, free: 8.531 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.0007207/0.0007207, allocations: 102.5 kB / 294.4 MB, free: 9.551 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002467/0.0002468, allocations: 11.94 kB / 354.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1983, allocations: 50.41 MB / 404.6 MB, free: 31.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.01636/0.2147, allocations: 21.7 MB / 426.3 MB, free: 9.582 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0126/0.2274, allocations: 9.065 MB / 435.4 MB, free: 36 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004078/0.2315, allocations: 167.5 kB / 435.5 MB, free: 15.87 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005612/0.2371, allocations: 1.787 MB / 437.3 MB, free: 14.08 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009145/0.2463, allocations: 3.608 MB / 440.9 MB, free: 10.22 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00472/0.2511, allocations: 2.097 MB / 443 MB, free: 7.977 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01267/0.2637, allocations: 10.62 MB / 453.6 MB, free: 13.31 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03577/0.2995, allocations: 28.66 MB / 482.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00617/0.3058, allocations: 4.146 MB / 486.5 MB, free: 10.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007796/0.3136, allocations: 4.793 MB / 491.2 MB, free: 5.895 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002088/0.3157, allocations: 0.6406 MB / 491.9 MB, free: 5.254 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003817/0.3195, allocations: 0.984 MB / 492.9 MB, free: 4.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002723/0.3223, allocations: 1.93 MB / 494.8 MB, free: 2.332 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008418/0.3307, allocations: 4.776 MB / 499.6 MB, free: 13.53 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2062/0.537, allocations: 20.98 MB / 0.5084 GB, free: 45.1 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.537, allocations: 0 / 0.5084 GB, free: 45.1 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.5371, allocations: 0 / 0.5084 GB, free: 45.1 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004942/0.5376, allocations: 4.469 kB / 0.5084 GB, free: 45.1 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.0269/0.5645, allocations: 10.68 MB / 0.5188 GB, free: 39.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.5645, allocations: 13.31 kB / 0.5188 GB, free: 39.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0309/0.5954, allocations: 6.176 MB / 0.5248 GB, free: 37.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0124/0.6079, allocations: 6.753 MB / 0.5314 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006205/0.6085, allocations: 0.7046 MB / 0.5321 GB, free: 35.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003518/0.6121, allocations: 0.9238 MB / 0.533 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03714/0.6492, allocations: 15.69 MB / 0.5483 GB, free: 27.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003017/0.6496, allocations: 14.58 kB / 0.5484 GB, free: 27.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002787/0.6524, allocations: 391.1 kB / 0.5487 GB, free: 27.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004474/0.6528, allocations: 0.5517 MB / 0.5493 GB, free: 27.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02957/0.6824, allocations: 14.7 MB / 0.5636 GB, free: 14.19 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07944/0.7619, allocations: 51.74 MB / 0.6141 GB, free: 10.06 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0234/0.7853, allocations: 26.44 MB / 0.64 GB, free: 12.58 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00509/0.7904, allocations: 3.252 MB / 0.6431 GB, free: 9.324 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000343/0.7908, allocations: 169.4 kB / 0.6433 GB, free: 9.152 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.784e-05/0.7909, allocations: 77.7 kB / 0.6434 GB, free: 9.066 MB / 458.7 MB Notification: Performance of pre-optimization done (n=404): time 5.511e-06/0.7909, allocations: 4 kB / 0.6434 GB, free: 9.062 MB / 458.7 MB Notification: Performance of matching and sorting (n=410): time 0.03592/0.8268, allocations: 17.3 MB / 0.6603 GB, free: 7.75 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/0.8269, allocations: 94.59 kB / 0.6604 GB, free: 7.645 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005866/0.8328, allocations: 3.659 MB / 0.6639 GB, free: 3.988 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006467/0.8334, allocations: 93.7 kB / 0.664 GB, free: 3.891 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002504/0.836, allocations: 3.97 MB / 0.6679 GB, free: 15.89 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001578/0.8376, allocations: 1.401 MB / 0.6693 GB, free: 14.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003414/0.8379, allocations: 120 kB / 0.6694 GB, free: 14.39 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003267/0.8382, allocations: 0.5459 MB / 0.6699 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004628/0.8429, allocations: 2.818 MB / 0.6727 GB, free: 11.01 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00654/0.8495, allocations: 4.975 MB / 0.6775 GB, free: 5.074 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2067/1.056, allocations: 8.361 MB / 0.6857 GB, free: 174 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-05/1.056, allocations: 20.28 kB / 0.6857 GB, free: 174 MB / 490.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01439/1.071, allocations: 9.112 MB / 0.6946 GB, free: 170.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.285e-05/1.071, allocations: 35.19 kB / 0.6946 GB, free: 170.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001028/1.071, allocations: 70.69 kB / 0.6947 GB, free: 170.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002774/1.074, allocations: 1.198 MB / 0.6959 GB, free: 170.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004611/1.078, allocations: 1.325 MB / 0.6972 GB, free: 170.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/1.089, allocations: 9.103 MB / 0.7061 GB, free: 165.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003999/1.094, allocations: 339.8 kB / 0.7064 GB, free: 165.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001002/1.095, allocations: 281.6 kB / 0.7067 GB, free: 165.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (697): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005793/1.1, allocations: 3.707 MB / 0.7103 GB, free: 163.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008367/1.101, allocations: 402.8 kB / 0.7107 GB, free: 163.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/1.111, allocations: 6.747 MB / 0.7173 GB, free: 158.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007416/1.119, allocations: 5.636 MB / 0.7228 GB, free: 153.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/1.119, allocations: 12 kB / 0.7228 GB, free: 153.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-05/1.119, allocations: 26.22 kB / 0.7228 GB, free: 153.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02031/1.139, allocations: 16.16 MB / 0.7386 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/1.139, allocations: 4 kB / 0.7386 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002707/1.142, allocations: 0.7299 MB / 0.7393 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002625/1.145, allocations: 1.074 MB / 0.7403 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003382/1.145, allocations: 87.98 kB / 0.7404 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009342/1.154, allocations: 8.063 MB / 0.7483 GB, free: 129.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.154, allocations: 4 kB / 0.7483 GB, free: 129.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01216/1.166, allocations: 9.934 MB / 0.758 GB, free: 119.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00219/1.169, allocations: 0.9722 MB / 0.759 GB, free: 118.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005696/1.169, allocations: 76 kB / 0.759 GB, free: 118.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001798/1.171, allocations: 215.9 kB / 0.7592 GB, free: 118.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005664/1.172, allocations: 283.3 kB / 0.7595 GB, free: 117.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002125/1.172, allocations: 120 kB / 0.7596 GB, free: 117.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00293/1.175, allocations: 2.463 MB / 0.762 GB, free: 115.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.175, allocations: 5.203 kB / 0.762 GB, free: 115.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005111/1.18, allocations: 1.612 MB / 0.7636 GB, free: 113.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.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 (392): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008764/1.181, allocations: 284.2 kB / 0.7639 GB, free: 113.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01019/1.191, allocations: 7.176 MB / 0.7709 GB, free: 106.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/1.191, allocations: 0 / 0.7709 GB, free: 106.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00492/1.196, allocations: 3.405 MB / 0.7742 GB, free: 102.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00561/1.202, allocations: 0.9212 MB / 0.7751 GB, free: 101.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02171/1.223, allocations: 20.61 MB / 0.7952 GB, free: 81.21 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004713/1.228, allocations: 6.187 MB / 0.8013 GB, free: 74.98 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004603/1.233, allocations: 1.92 MB / 0.8032 GB, free: 73.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008918/1.234, allocations: 344.1 kB / 0.8035 GB, free: 72.72 MB / 490.7 MB Notification: Performance of SimCode: time 6.51e-07/1.234, allocations: 0 / 0.8035 GB, free: 72.72 MB / 490.7 MB Notification: Performance of Templates: time 0.2642/1.498, allocations: 65.88 MB / 0.8678 GB, free: 161.5 MB / 490.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches