Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009435/0.0009436, allocations: 179.2 kB / 17.36 MB, free: 4.445 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.445/1.445, allocations: 205.6 MB / 223.7 MB, free: 8.949 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.0008497/0.0008497, allocations: 86.41 kB / 272.1 MB, free: 8.125 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002783/0.0002784, allocations: 8 kB / 329.1 MB, free: 15.03 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2308, allocations: 47.58 MB / 376.6 MB, free: 45.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01786/0.2487, allocations: 21.91 MB / 398.5 MB, free: 26.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01488/0.2636, allocations: 9.63 MB / 408.2 MB, free: 16.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004831/0.2685, allocations: 143.5 kB / 408.3 MB, free: 16.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00434/0.2729, allocations: 1.763 MB / 410.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007934/0.2808, allocations: 3.741 MB / 413.8 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003957/0.2848, allocations: 2.157 MB / 416 MB, free: 8.133 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01107/0.2959, allocations: 11.17 MB / 427.1 MB, free: 12.92 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04225/0.3382, allocations: 29.89 MB / 457 MB, free: 13.29 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007652/0.3459, allocations: 4.36 MB / 461.4 MB, free: 8.91 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008472/0.3544, allocations: 5.104 MB / 466.5 MB, free: 3.785 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002624/0.357, allocations: 0.6641 MB / 467.2 MB, free: 3.121 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004794/0.3618, allocations: 1.043 MB / 468.2 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003579/0.3654, allocations: 2.148 MB / 470.4 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007545/0.373, allocations: 5.067 MB / 475.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02187/0.3949, allocations: 21.74 MB / 497.2 MB, free: 5.012 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3949, allocations: 0 / 497.2 MB, free: 5.012 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3949, allocations: 0 / 497.2 MB, free: 5.012 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0006185/0.3956, allocations: 0 / 497.2 MB, free: 5.012 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: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.314/0.7096, allocations: 11.37 MB / 0.4966 GB, free: 94.71 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.7096, allocations: 11.72 kB / 0.4966 GB, free: 94.71 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03574/0.7454, allocations: 7.229 MB / 0.5037 GB, free: 91.5 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01218/0.7576, allocations: 6.513 MB / 0.51 GB, free: 85.04 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004916/0.7581, allocations: 0.7299 MB / 0.5108 GB, free: 84.32 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00278/0.7609, allocations: 0.9675 MB / 0.5117 GB, free: 83.36 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02671/0.7876, allocations: 16.54 MB / 0.5278 GB, free: 66.77 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001659/0.7879, allocations: 15.81 kB / 0.5279 GB, free: 66.76 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009042/0.7888, allocations: 411.4 kB / 0.5283 GB, free: 66.37 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003918/0.7892, allocations: 0.5831 MB / 0.5288 GB, free: 65.78 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02348/0.8127, allocations: 15.73 MB / 0.5442 GB, free: 50.03 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0799/0.8926, allocations: 54.03 MB / 0.597 GB, free: 11.19 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02244/0.9151, allocations: 22.7 MB / 0.6191 GB, free: 2.262 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006439/0.9216, allocations: 3.836 MB / 0.6229 GB, free: 14.41 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02088/0.9425, allocations: 11.79 MB / 0.6344 GB, free: 2.512 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.734e-05/0.9426, allocations: 69.39 kB / 0.6344 GB, free: 2.434 MB / 426.8 MB Notification: Performance of pre-optimization done (n=363): time 5.771e-06/0.9426, allocations: 4 kB / 0.6345 GB, free: 2.43 MB / 426.8 MB Notification: Performance of matching and sorting (n=368): time 0.03803/0.9806, allocations: 17.51 MB / 0.6515 GB, free: 0.7695 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.9807, allocations: 90.27 kB / 0.6516 GB, free: 0.668 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1857/1.166, allocations: 4.731 MB / 0.6563 GB, free: 144.5 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005876/1.167, allocations: 81.14 kB / 0.6563 GB, free: 144.4 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002239/1.169, allocations: 4.474 MB / 0.6607 GB, free: 141.8 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001302/1.171, allocations: 1.273 MB / 0.6619 GB, free: 140.8 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003604/1.171, allocations: 122.7 kB / 0.6621 GB, free: 140.7 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0002481/1.171, allocations: 0.5431 MB / 0.6626 GB, free: 140.3 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004119/1.175, allocations: 2.913 MB / 0.6654 GB, free: 139.2 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005096/1.181, allocations: 5.285 MB / 0.6706 GB, free: 135 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008852/1.189, allocations: 8.687 MB / 0.6791 GB, free: 129 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.913e-05/1.19, allocations: 23.53 kB / 0.6791 GB, free: 129 MB / 442.8 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.0141/1.204, allocations: 9.628 MB / 0.6885 GB, free: 124.4 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.67e-05/1.204, allocations: 39.81 kB / 0.6885 GB, free: 124.4 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001037/1.204, allocations: 80 kB / 0.6886 GB, free: 124.3 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00306/1.207, allocations: 1.398 MB / 0.69 GB, free: 123.2 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004334/1.211, allocations: 1.338 MB / 0.6913 GB, free: 122.1 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01291/1.224, allocations: 11.65 MB / 0.7027 GB, free: 111.6 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004535/1.229, allocations: 375.5 kB / 0.703 GB, free: 111.3 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007943/1.23, allocations: 306.4 kB / 0.7033 GB, free: 111 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 355 * 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 (692): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006195/1.236, allocations: 3.918 MB / 0.7071 GB, free: 107.2 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00101/1.237, allocations: 446.5 kB / 0.7076 GB, free: 106.8 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01012/1.247, allocations: 6.808 MB / 0.7142 GB, free: 99.92 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007157/1.254, allocations: 5.62 MB / 0.7197 GB, free: 94.27 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/1.254, allocations: 12 kB / 0.7197 GB, free: 94.26 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.724e-05/1.254, allocations: 15.94 kB / 0.7197 GB, free: 94.24 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02107/1.275, allocations: 15.51 MB / 0.7349 GB, free: 78.66 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/1.275, allocations: 4 kB / 0.7349 GB, free: 78.66 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002546/1.278, allocations: 0.667 MB / 0.7355 GB, free: 77.99 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00278/1.281, allocations: 1.269 MB / 0.7368 GB, free: 76.72 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002668/1.281, allocations: 87.97 kB / 0.7369 GB, free: 76.63 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01115/1.292, allocations: 10.57 MB / 0.7472 GB, free: 65.81 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.292, allocations: 11.88 kB / 0.7472 GB, free: 65.8 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01297/1.305, allocations: 10.08 MB / 0.757 GB, free: 55.58 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002352/1.307, allocations: 1.042 MB / 0.7581 GB, free: 54.52 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005921/1.308, allocations: 72 kB / 0.7581 GB, free: 54.45 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001946/1.31, allocations: 227.7 kB / 0.7583 GB, free: 54.22 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007146/1.311, allocations: 267.1 kB / 0.7586 GB, free: 53.96 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002372/1.311, allocations: 116 kB / 0.7587 GB, free: 53.85 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.004352/1.315, allocations: 3.201 MB / 0.7618 GB, free: 50.64 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.4e-07/1.315, allocations: 0 / 0.7618 GB, free: 50.64 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.005659/1.321, allocations: 1.704 MB / 0.7635 GB, free: 48.94 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (336): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001199/1.322, allocations: 0.5554 MB / 0.764 GB, free: 48.52 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01033/1.333, allocations: 7.558 MB / 0.7714 GB, free: 40.93 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/1.333, allocations: 0 / 0.7714 GB, free: 40.93 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005014/1.338, allocations: 3.607 MB / 0.7749 GB, free: 37.3 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006591/1.344, allocations: 0.9659 MB / 0.7759 GB, free: 36.33 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02956/1.374, allocations: 22.26 MB / 0.7976 GB, free: 13.98 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005837/1.38, allocations: 6.559 MB / 0.804 GB, free: 7.375 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.005934/1.386, allocations: 2.098 MB / 0.8061 GB, free: 5.27 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/1.387, allocations: 359.4 kB / 0.8064 GB, free: 4.922 MB / 442.8 MB Notification: Performance of SimCode: time 1.252e-06/1.387, allocations: 0 / 0.8064 GB, free: 4.922 MB / 442.8 MB Notification: Performance of Templates: time 0.3139/1.701, allocations: 68.13 MB / 0.873 GB, free: 108.1 MB / 458.8 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches