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.IMS_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.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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.0008627/0.0008626, allocations: 182.4 kB / 16.71 MB, free: 4.961 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.215/1.215, allocations: 225.7 MB / 243.2 MB, free: 8.496 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.0006948/0.0006948, allocations: 97.03 kB / 294.4 MB, free: 9.508 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002178/0.0002178, allocations: 11.94 kB / 354.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1825, allocations: 50.41 MB / 404.6 MB, free: 31.33 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.01651/0.1991, allocations: 23.65 MB / 428.3 MB, free: 7.594 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0133/0.2124, allocations: 9.803 MB / 438.1 MB, free: 13.29 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004073/0.2165, allocations: 183.4 kB / 438.2 MB, free: 13.11 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005376/0.222, allocations: 1.938 MB / 440.2 MB, free: 11.16 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009356/0.2314, allocations: 4.005 MB / 444.2 MB, free: 6.902 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005041/0.2364, allocations: 2.18 MB / 446.4 MB, free: 4.574 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01432/0.2507, allocations: 12.24 MB / 458.6 MB, free: 8.285 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04121/0.292, allocations: 30.87 MB / 489.5 MB, free: 7.559 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006951/0.299, allocations: 4.725 MB / 494.2 MB, free: 2.816 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007961/0.307, allocations: 5.54 MB / 499.7 MB, free: 13.25 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002606/0.3096, allocations: 0.7188 MB / 0.4887 GB, free: 12.54 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004433/0.3141, allocations: 1.082 MB / 0.4898 GB, free: 11.45 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003596/0.3177, allocations: 2.257 MB / 0.492 GB, free: 9.188 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008795/0.3265, allocations: 5.464 MB / 0.4973 GB, free: 3.691 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3181/0.6446, allocations: 23.25 MB / 0.52 GB, free: 42.45 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.6447, allocations: 3.281 kB / 0.52 GB, free: 42.45 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.934e-06/0.6447, allocations: 0 / 0.52 GB, free: 42.45 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.000719/0.6454, allocations: 0 / 0.52 GB, free: 42.45 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.0303/0.6757, allocations: 12.15 MB / 0.5319 GB, free: 36.46 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.6758, allocations: 10.16 kB / 0.5319 GB, free: 36.46 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04099/0.7168, allocations: 8.465 MB / 0.5402 GB, free: 33.21 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01371/0.7305, allocations: 7.468 MB / 0.5475 GB, free: 30.33 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005022/0.7311, allocations: 0.8094 MB / 0.5482 GB, free: 29.87 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003135/0.7342, allocations: 1.067 MB / 0.5493 GB, free: 29.16 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03794/0.7722, allocations: 18.22 MB / 0.5671 GB, free: 17.66 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003663/0.7726, allocations: 18.95 kB / 0.5671 GB, free: 17.64 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002867/0.7754, allocations: 450.2 kB / 0.5675 GB, free: 17.55 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000513/0.776, allocations: 0.6651 MB / 0.5682 GB, free: 16.94 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03103/0.807, allocations: 17.46 MB / 0.5852 GB, free: 15.87 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.101/0.908, allocations: 58.89 MB / 0.6427 GB, free: 4.578 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1994/1.108, allocations: 37.44 MB / 0.6793 GB, free: 153.8 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007219/1.115, allocations: 4.144 MB / 0.6834 GB, free: 153.7 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005203/1.115, allocations: 201.1 kB / 0.6835 GB, free: 153.6 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.066e-05/1.115, allocations: 89.14 kB / 0.6836 GB, free: 153.5 MB / 474.8 MB Notification: Performance of pre-optimization done (n=524): time 7.755e-06/1.115, allocations: 1.312 kB / 0.6836 GB, free: 153.5 MB / 474.8 MB Notification: Performance of matching and sorting (n=530): time 0.04155/1.157, allocations: 21.85 MB / 0.705 GB, free: 146.1 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/1.157, allocations: 110.3 kB / 0.7051 GB, free: 146 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005328/1.162, allocations: 4.144 MB / 0.7091 GB, free: 144.5 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008766/1.163, allocations: 109.1 kB / 0.7092 GB, free: 144.4 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001982/1.165, allocations: 4.499 MB / 0.7136 GB, free: 141 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001854/1.167, allocations: 1.799 MB / 0.7154 GB, free: 139.4 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004082/1.168, allocations: 144 kB / 0.7155 GB, free: 139.2 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.000349/1.168, allocations: 0.5953 MB / 0.7161 GB, free: 138.7 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004588/1.173, allocations: 3.455 MB / 0.7195 GB, free: 135.8 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005276/1.178, allocations: 5.897 MB / 0.7252 GB, free: 129.5 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009745/1.188, allocations: 10.05 MB / 0.735 GB, free: 119.1 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.562e-05/1.188, allocations: 20 kB / 0.7351 GB, free: 119.1 MB / 474.8 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.01499/1.203, allocations: 10.96 MB / 0.7458 GB, free: 108.8 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.888e-05/1.203, allocations: 36 kB / 0.7458 GB, free: 108.7 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000108/1.203, allocations: 80 kB / 0.7459 GB, free: 108.6 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003061/1.206, allocations: 1.398 MB / 0.7472 GB, free: 107.2 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005085/1.211, allocations: 1.616 MB / 0.7488 GB, free: 105.6 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01218/1.223, allocations: 10.57 MB / 0.7591 GB, free: 94.92 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005205/1.228, allocations: 411.3 kB / 0.7595 GB, free: 94.52 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001373/1.23, allocations: 332 kB / 0.7599 GB, free: 94.2 MB / 474.8 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.007018/1.237, allocations: 4.159 MB / 0.7639 GB, free: 90.02 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009347/1.238, allocations: 482.2 kB / 0.7644 GB, free: 89.55 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01166/1.25, allocations: 8.526 MB / 0.7727 GB, free: 80.93 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008847/1.258, allocations: 7.112 MB / 0.7797 GB, free: 73.72 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.777e-05/1.258, allocations: 12 kB / 0.7797 GB, free: 73.71 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.514e-05/1.259, allocations: 29.64 kB / 0.7797 GB, free: 73.68 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02691/1.285, allocations: 19.38 MB / 0.7986 GB, free: 54.03 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/1.285, allocations: 4 kB / 0.7986 GB, free: 54.02 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003262/1.289, allocations: 0.9401 MB / 0.7995 GB, free: 53.08 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002778/1.292, allocations: 1.254 MB / 0.8008 GB, free: 51.82 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000301/1.292, allocations: 112 kB / 0.8009 GB, free: 51.71 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01027/1.302, allocations: 9.313 MB / 0.81 GB, free: 42.28 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.302, allocations: 4 kB / 0.81 GB, free: 42.27 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01428/1.316, allocations: 12.33 MB / 0.822 GB, free: 29.73 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002263/1.319, allocations: 1.178 MB / 0.8232 GB, free: 28.53 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000612/1.319, allocations: 92 kB / 0.8233 GB, free: 28.44 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002161/1.322, allocations: 283.8 kB / 0.8235 GB, free: 28.16 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006813/1.322, allocations: 352.4 kB / 0.8239 GB, free: 27.82 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002749/1.323, allocations: 148 kB / 0.824 GB, free: 27.67 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.003329/1.326, allocations: 2.781 MB / 0.8267 GB, free: 24.88 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.8e-07/1.326, allocations: 0 / 0.8267 GB, free: 24.88 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.005431/1.331, allocations: 1.939 MB / 0.8286 GB, free: 22.95 MB / 474.8 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.0006229/1.332, allocations: 314.7 kB / 0.8289 GB, free: 22.64 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01151/1.343, allocations: 8.767 MB / 0.8375 GB, free: 13.82 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.343, allocations: 8 kB / 0.8375 GB, free: 13.81 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006138/1.35, allocations: 4.206 MB / 0.8416 GB, free: 9.582 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007368/1.357, allocations: 1.066 MB / 0.8426 GB, free: 8.527 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2206/1.578, allocations: 24.04 MB / 0.8661 GB, free: 143 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007036/1.585, allocations: 7.008 MB / 0.873 GB, free: 141.4 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.006094/1.591, allocations: 2.32 MB / 0.8752 GB, free: 141.1 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001205/1.592, allocations: 422.5 kB / 0.8756 GB, free: 141.1 MB / 474.8 MB Notification: Performance of SimCode: time 9.21e-07/1.592, allocations: 0 / 0.8756 GB, free: 141.1 MB / 474.8 MB Notification: Performance of Templates: time 0.1101/1.702, allocations: 78.62 MB / 0.9524 GB, free: 67.14 MB / 474.8 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches