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.IMS_Characteristics.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.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002004/0.002004, allocations: 176 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.367/1.367, allocations: 205.6 MB / 223.7 MB, free: 8.934 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.0008072/0.0008075, allocations: 95.73 kB / 272.1 MB, free: 8.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002366/0.0002367, allocations: 4 kB / 329.1 MB, free: 15.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2108, allocations: 47.57 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.01789/0.2287, allocations: 23.76 MB / 400.4 MB, free: 24.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01618/0.245, allocations: 9.761 MB / 410.2 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004613/0.2496, allocations: 159.5 kB / 410.3 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005373/0.255, allocations: 1.947 MB / 412.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008884/0.2639, allocations: 4.033 MB / 416.3 MB, free: 7.984 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004499/0.2684, allocations: 2.217 MB / 418.5 MB, free: 5.621 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01302/0.2815, allocations: 12.46 MB / 431 MB, free: 9.117 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04423/0.3257, allocations: 30.93 MB / 461.9 MB, free: 8.332 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007037/0.3328, allocations: 4.776 MB / 466.7 MB, free: 3.539 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008206/0.341, allocations: 5.641 MB / 472.3 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002333/0.3434, allocations: 0.7227 MB / 473 MB, free: 13.15 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004708/0.3481, allocations: 1.074 MB / 474.1 MB, free: 12.08 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004684/0.3528, allocations: 2.312 MB / 476.4 MB, free: 9.758 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009657/0.3625, allocations: 5.534 MB / 482 MB, free: 4.191 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3598/0.7223, allocations: 23.28 MB / 0.4934 GB, free: 49.77 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.7224, allocations: 0 / 0.4934 GB, free: 49.77 MB / 378.8 MB Notification: Performance of FrontEnd: time 2.414e-06/0.7224, allocations: 0 / 0.4934 GB, free: 49.77 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.0005809/0.723, allocations: 0 / 0.4934 GB, free: 49.77 MB / 378.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.02962/0.7526, allocations: 12.27 MB / 0.5054 GB, free: 46.32 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.7527, allocations: 9.469 kB / 0.5054 GB, free: 46.32 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04645/0.7991, allocations: 9.464 MB / 0.5146 GB, free: 43.1 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01295/0.8121, allocations: 6.908 MB / 0.5214 GB, free: 41.28 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006574/0.8128, allocations: 0.8211 MB / 0.5222 GB, free: 41.26 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004035/0.8169, allocations: 1.08 MB / 0.5232 GB, free: 41.2 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03873/0.8556, allocations: 18.68 MB / 0.5415 GB, free: 29.37 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003501/0.856, allocations: 15.28 kB / 0.5415 GB, free: 29.36 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002739/0.8587, allocations: 457.1 kB / 0.5419 GB, free: 29.27 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005323/0.8593, allocations: 0.6922 MB / 0.5426 GB, free: 28.63 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03038/0.8897, allocations: 18.14 MB / 0.5603 GB, free: 12.88 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08985/0.9795, allocations: 60.18 MB / 0.6191 GB, free: 256 kB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2004/1.18, allocations: 46.65 MB / 0.6646 GB, free: 169 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007698/1.188, allocations: 4.322 MB / 0.6689 GB, free: 168.9 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02187/1.21, allocations: 12.48 MB / 0.681 GB, free: 164 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.608e-05/1.21, allocations: 79.05 kB / 0.6811 GB, free: 164 MB / 474.8 MB Notification: Performance of pre-optimization done (n=391): time 6.062e-06/1.21, allocations: 0 / 0.6811 GB, free: 164 MB / 474.8 MB Notification: Performance of matching and sorting (n=397): time 0.03593/1.246, allocations: 19.5 MB / 0.7002 GB, free: 156.5 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/1.246, allocations: 91.44 kB / 0.7003 GB, free: 156.4 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005163/1.251, allocations: 4.299 MB / 0.7044 GB, free: 153.7 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004409/1.251, allocations: 89.7 kB / 0.7045 GB, free: 153.6 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002052/1.253, allocations: 4.816 MB / 0.7092 GB, free: 149.3 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00116/1.255, allocations: 1.373 MB / 0.7106 GB, free: 148.1 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002956/1.255, allocations: 127.8 kB / 0.7107 GB, free: 147.9 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0002458/1.255, allocations: 0.5708 MB / 0.7113 GB, free: 147.4 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003762/1.259, allocations: 3.136 MB / 0.7143 GB, free: 144.8 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004973/1.264, allocations: 5.767 MB / 0.72 GB, free: 138.2 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009117/1.273, allocations: 9.49 MB / 0.7292 GB, free: 127.5 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.912e-05/1.273, allocations: 27.94 kB / 0.7292 GB, free: 127.5 MB / 474.8 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01387/1.287, allocations: 10.29 MB / 0.7393 GB, free: 117.2 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.263e-05/1.287, allocations: 40 kB / 0.7393 GB, free: 117.1 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001044/1.287, allocations: 88.38 kB / 0.7394 GB, free: 117 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003118/1.29, allocations: 1.403 MB / 0.7408 GB, free: 115.6 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004646/1.295, allocations: 1.462 MB / 0.7422 GB, free: 114.2 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01251/1.308, allocations: 10.56 MB / 0.7525 GB, free: 103.5 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005086/1.313, allocations: 403.3 kB / 0.7529 GB, free: 103.1 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009404/1.314, allocations: 328 kB / 0.7532 GB, free: 102.8 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (755): * Single equations (assignments): 750 * 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.006043/1.32, allocations: 4.177 MB / 0.7573 GB, free: 98.57 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008886/1.321, allocations: 454.4 kB / 0.7577 GB, free: 98.12 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/1.331, allocations: 7.397 MB / 0.765 GB, free: 90.68 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01006/1.342, allocations: 6.071 MB / 0.7709 GB, free: 84.59 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.949e-05/1.342, allocations: 12 kB / 0.7709 GB, free: 84.57 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.73e-05/1.342, allocations: 19.92 kB / 0.7709 GB, free: 84.55 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02802/1.37, allocations: 16.47 MB / 0.787 GB, free: 68.07 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.541e-05/1.37, allocations: 0 / 0.787 GB, free: 68.07 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003153/1.373, allocations: 0.7216 MB / 0.7877 GB, free: 67.35 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003037/1.376, allocations: 1.25 MB / 0.7889 GB, free: 66.1 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004794/1.376, allocations: 87.97 kB / 0.789 GB, free: 66.01 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01077/1.387, allocations: 9.293 MB / 0.7981 GB, free: 56.59 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.387, allocations: 7.922 kB / 0.7981 GB, free: 56.58 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01369/1.401, allocations: 10.63 MB / 0.8085 GB, free: 45.9 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002865/1.404, allocations: 1.058 MB / 0.8095 GB, free: 44.82 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001122/1.405, allocations: 76 kB / 0.8096 GB, free: 44.74 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003001/1.408, allocations: 255.7 kB / 0.8098 GB, free: 44.49 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008194/1.409, allocations: 271.5 kB / 0.8101 GB, free: 44.23 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002848/1.409, allocations: 120 kB / 0.8102 GB, free: 44.11 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.004065/1.413, allocations: 2.873 MB / 0.813 GB, free: 41.23 MB / 474.8 MB Notification: Performance of sort global known variables: time 4.21e-07/1.413, allocations: 0 / 0.813 GB, free: 41.23 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.006863/1.42, allocations: 1.847 MB / 0.8148 GB, free: 39.38 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.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 (363): * Single equations (assignments): 358 * 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.0007643/1.421, allocations: 270.1 kB / 0.8151 GB, free: 39.12 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01084/1.432, allocations: 7.956 MB / 0.8228 GB, free: 31.16 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/1.432, allocations: 4.812 kB / 0.8228 GB, free: 31.16 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.162/1.594, allocations: 3.684 MB / 0.8264 GB, free: 161.6 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004949/1.599, allocations: 1.025 MB / 0.8274 GB, free: 161.5 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03211/1.631, allocations: 23.63 MB / 0.8505 GB, free: 150.8 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007011/1.638, allocations: 7.041 MB / 0.8574 GB, free: 148.2 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.006126/1.644, allocations: 2.243 MB / 0.8596 GB, free: 147.9 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/1.645, allocations: 365.9 kB / 0.8599 GB, free: 147.9 MB / 474.8 MB Notification: Performance of SimCode: time 1.012e-06/1.645, allocations: 0 / 0.8599 GB, free: 147.9 MB / 474.8 MB Notification: Performance of Templates: time 0.1034/1.749, allocations: 71.77 MB / 0.93 GB, free: 83.76 MB / 474.8 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_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/IMS_Characteristics/IMS_Characteristics.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches