Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001376/0.001376, allocations: 196.1 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.269/1.269, allocations: 229.5 MB / 247.7 MB, free: 6.344 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008063/0.0008064, allocations: 100.5 kB / 299.9 MB, free: 5.367 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001988/0.0001988, allocations: 4 kB / 360.7 MB, free: 8.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2125, allocations: 51.41 MB / 412.1 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.01806/0.2306, allocations: 23.68 MB / 435.8 MB, free: 2.172 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01689/0.2475, allocations: 10.29 MB / 446 MB, free: 7.281 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005564/0.2532, allocations: 179.4 kB / 446.2 MB, free: 7.105 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006491/0.2597, allocations: 1.961 MB / 448.2 MB, free: 5.137 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01104/0.2708, allocations: 3.926 MB / 452.1 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005683/0.2765, allocations: 2.207 MB / 454.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01507/0.2916, allocations: 12.36 MB / 466.7 MB, free: 2.219 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04475/0.3364, allocations: 30.88 MB / 497.5 MB, free: 1.473 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007965/0.3444, allocations: 4.722 MB / 0.4905 GB, free: 12.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00874/0.3532, allocations: 5.536 MB / 0.4959 GB, free: 7.172 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002521/0.3557, allocations: 0.7188 MB / 0.4966 GB, free: 6.453 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004486/0.3602, allocations: 1.101 MB / 0.4977 GB, free: 5.355 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003135/0.3634, allocations: 2.261 MB / 0.4999 GB, free: 3.086 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1965/0.5599, allocations: 5.462 MB / 0.5052 GB, free: 38.97 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02023/0.5801, allocations: 23.28 MB / 0.528 GB, free: 31.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.5802, allocations: 0 / 0.528 GB, free: 31.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5802, allocations: 0 / 0.528 GB, free: 31.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0006254/0.5808, allocations: 1.281 kB / 0.528 GB, free: 31.41 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.0303/0.6111, allocations: 12.17 MB / 0.5398 GB, free: 25.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.6112, allocations: 14.19 kB / 0.5398 GB, free: 25.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04154/0.6527, allocations: 8.481 MB / 0.5481 GB, free: 22.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01672/0.6695, allocations: 7.474 MB / 0.5554 GB, free: 18.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008138/0.6703, allocations: 0.8121 MB / 0.5562 GB, free: 18.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004544/0.6749, allocations: 1.066 MB / 0.5573 GB, free: 17.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0489/0.7238, allocations: 18.22 MB / 0.5751 GB, free: 5.301 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005017/0.7243, allocations: 19.8 kB / 0.5751 GB, free: 5.281 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00432/0.7287, allocations: 449.7 kB / 0.5755 GB, free: 4.855 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007372/0.7294, allocations: 0.6672 MB / 0.5762 GB, free: 4.188 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03733/0.7668, allocations: 17.46 MB / 0.5932 GB, free: 2.719 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1049/0.8717, allocations: 60.03 MB / 0.6518 GB, free: 6.023 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2249/1.097, allocations: 37.42 MB / 0.6884 GB, free: 132.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00648/1.103, allocations: 4.15 MB / 0.6924 GB, free: 132.4 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004049/1.104, allocations: 276.1 kB / 0.6927 GB, free: 132.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.047e-05/1.104, allocations: 87.05 kB / 0.6928 GB, free: 132.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=524): time 9.046e-06/1.104, allocations: 0 / 0.6928 GB, free: 132.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=530): time 0.0432/1.147, allocations: 21.86 MB / 0.7141 GB, free: 124.6 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/1.147, allocations: 105.8 kB / 0.7142 GB, free: 124.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006247/1.153, allocations: 4.143 MB / 0.7183 GB, free: 123 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009549/1.154, allocations: 111.8 kB / 0.7184 GB, free: 122.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002159/1.156, allocations: 4.501 MB / 0.7228 GB, free: 119.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001898/1.158, allocations: 1.793 MB / 0.7245 GB, free: 118.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003682/1.159, allocations: 149.9 kB / 0.7247 GB, free: 118 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003272/1.159, allocations: 0.5901 MB / 0.7252 GB, free: 117.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004529/1.164, allocations: 3.453 MB / 0.7286 GB, free: 115.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005422/1.169, allocations: 5.908 MB / 0.7344 GB, free: 109.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01102/1.18, allocations: 10.06 MB / 0.7442 GB, free: 98.98 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.319e-05/1.18, allocations: 24 kB / 0.7442 GB, free: 98.96 MB / 474.7 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.01679/1.197, allocations: 10.95 MB / 0.7549 GB, free: 89.07 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.112e-05/1.197, allocations: 36.78 kB / 0.755 GB, free: 89.04 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000111/1.197, allocations: 84.86 kB / 0.755 GB, free: 88.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003239/1.201, allocations: 1.393 MB / 0.7564 GB, free: 87.56 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005688/1.206, allocations: 1.617 MB / 0.758 GB, free: 85.94 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01356/1.22, allocations: 10.57 MB / 0.7683 GB, free: 75.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005408/1.225, allocations: 410.2 kB / 0.7687 GB, free: 74.83 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001316/1.227, allocations: 340 kB / 0.769 GB, free: 74.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (843): * Single equations (assignments): 838 * 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,56,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007906/1.234, allocations: 4.169 MB / 0.7731 GB, free: 70.31 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001422/1.236, allocations: 474.2 kB / 0.7735 GB, free: 69.84 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0142/1.25, allocations: 8.522 MB / 0.7819 GB, free: 61.23 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009309/1.259, allocations: 7.112 MB / 0.7888 GB, free: 54.02 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-05/1.26, allocations: 12 kB / 0.7888 GB, free: 54.01 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.985e-05/1.26, allocations: 27.89 kB / 0.7888 GB, free: 53.98 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0287/1.288, allocations: 19.4 MB / 0.8078 GB, free: 34.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-05/1.288, allocations: 4 kB / 0.8078 GB, free: 34.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00341/1.292, allocations: 0.9403 MB / 0.8087 GB, free: 33.38 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003034/1.295, allocations: 1.254 MB / 0.8099 GB, free: 32.12 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004439/1.295, allocations: 113.3 kB / 0.81 GB, free: 32.01 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01115/1.306, allocations: 9.305 MB / 0.8191 GB, free: 22.57 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/1.306, allocations: 4 kB / 0.8191 GB, free: 22.57 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01627/1.323, allocations: 12.34 MB / 0.8312 GB, free: 10.03 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002545/1.325, allocations: 1.172 MB / 0.8323 GB, free: 8.836 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007455/1.326, allocations: 92 kB / 0.8324 GB, free: 8.746 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002298/1.328, allocations: 287.8 kB / 0.8327 GB, free: 8.465 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007199/1.329, allocations: 352.3 kB / 0.833 GB, free: 8.117 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002931/1.329, allocations: 148 kB / 0.8332 GB, free: 7.973 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003925/1.333, allocations: 2.784 MB / 0.8359 GB, free: 5.176 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.01e-07/1.333, allocations: 4 kB / 0.8359 GB, free: 5.172 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005553/1.339, allocations: 1.941 MB / 0.8378 GB, free: 3.234 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (imsQS.rotor.stray.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 (502): * Single equations (assignments): 497 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005822/1.339, allocations: 313.6 kB / 0.8381 GB, free: 2.934 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0135/1.353, allocations: 8.766 MB / 0.8466 GB, free: 10.11 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/1.353, allocations: 0 / 0.8466 GB, free: 10.11 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00712/1.36, allocations: 4.218 MB / 0.8508 GB, free: 5.879 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006366/1.367, allocations: 1.068 MB / 0.8518 GB, free: 4.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2432/1.61, allocations: 24.09 MB / 0.8753 GB, free: 152.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01266/1.622, allocations: 7.011 MB / 0.8822 GB, free: 151.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007363/1.63, allocations: 2.31 MB / 0.8844 GB, free: 151.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001654/1.632, allocations: 421.5 kB / 0.8848 GB, free: 151.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.162e-06/1.632, allocations: 0 / 0.8848 GB, free: 151.5 MB / 490.7 MB Notification: Performance of Templates: time 0.1304/1.762, allocations: 78.75 MB / 0.9617 GB, free: 80.75 MB / 490.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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/IMS_Characteristics/IMS_Characteristics.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches