Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 112.1 kB / 17.29 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 197.3 kB / 18.21 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 39.41 kB / 300.8 MB, free: 6.199 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1117, allocations: 49.45 MB / 350.3 MB, free: 4.746 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.2564/0.3681, allocations: 26.49 MB / 376.8 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01906/0.3872, allocations: 7.937 MB / 384.7 MB, free: 8.215 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008052/0.3953, allocations: 192.9 kB / 384.9 MB, free: 8.176 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02197/0.4174, allocations: 8.872 MB / 393.7 MB, free: 4.836 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01412/0.4315, allocations: 3.02 MB / 396.8 MB, free: 2.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006736/0.4383, allocations: 1.679 MB / 398.4 MB, free: 1.555 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01861/0.4569, allocations: 12.11 MB / 410.6 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04938/0.5063, allocations: 28.07 MB / 438.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01392/0.5203, allocations: 6.503 MB / 445.1 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01292/0.5333, allocations: 7.273 MB / 452.4 MB, free: 128 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005983/0.5393, allocations: 1.836 MB / 454.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009808/0.5491, allocations: 2.207 MB / 456.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007532/0.5567, allocations: 3.62 MB / 460.1 MB, free: 8.453 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01571/0.5724, allocations: 6.919 MB / 467 MB, free: 1.508 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02813/0.6006, allocations: 21.68 MB / 488.7 MB, free: 11.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.6006, allocations: 0 / 488.7 MB, free: 11.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6006, allocations: 0 / 488.7 MB, free: 11.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0007924/0.6014, allocations: 3.984 kB / 488.7 MB, free: 11.77 MB / 398.1 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.05089/0.6523, allocations: 14.56 MB / 0.4914 GB, free: 13.1 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.6524, allocations: 8.031 kB / 0.4914 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04791/0.7003, allocations: 8.43 MB / 0.4997 GB, free: 4.641 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01907/0.7195, allocations: 7.445 MB / 0.5069 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001298/0.7208, allocations: 0.8069 MB / 0.5077 GB, free: 12.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00551/0.7263, allocations: 1.066 MB / 0.5088 GB, free: 11.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5011/1.227, allocations: 18.3 MB / 0.5267 GB, free: 111.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006752/1.228, allocations: 15.39 kB / 0.5267 GB, free: 111.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004489/1.233, allocations: 444.9 kB / 0.5271 GB, free: 110.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00128/1.234, allocations: 0.6703 MB / 0.5277 GB, free: 110.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04451/1.279, allocations: 17.54 MB / 0.5449 GB, free: 104.2 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1045/1.383, allocations: 58.71 MB / 0.6022 GB, free: 54.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02872/1.412, allocations: 37.49 MB / 0.6388 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006614/1.419, allocations: 4.153 MB / 0.6429 GB, free: 8.988 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005001/1.419, allocations: 196.3 kB / 0.6431 GB, free: 8.789 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.029e-05/1.419, allocations: 94.64 kB / 0.6432 GB, free: 8.684 MB / 430.1 MB Notification: Performance of pre-optimization done (n=524): time 7.093e-06/1.419, allocations: 0 / 0.6432 GB, free: 8.684 MB / 430.1 MB Notification: Performance of matching and sorting (n=530): time 0.0505/1.47, allocations: 21.8 MB / 0.6644 GB, free: 2.668 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.146e-05/1.47, allocations: 107.5 kB / 0.6645 GB, free: 2.547 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007066/1.477, allocations: 4.175 MB / 0.6686 GB, free: 14.34 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00135/1.478, allocations: 113.7 kB / 0.6687 GB, free: 14.23 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003946/1.482, allocations: 4.503 MB / 0.6731 GB, free: 9.695 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003339/1.486, allocations: 1.791 MB / 0.6749 GB, free: 7.918 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002528/1.488, allocations: 1.355 MB / 0.6762 GB, free: 6.555 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/1.488, allocations: 305.1 kB / 0.6765 GB, free: 6.254 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005884/1.494, allocations: 3.477 MB / 0.6799 GB, free: 2.773 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008522/1.503, allocations: 5.918 MB / 0.6857 GB, free: 11.77 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0159/1.519, allocations: 10.08 MB / 0.6955 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001017/1.519, allocations: 27.98 kB / 0.6955 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.2826/1.801, allocations: 10.99 MB / 0.7063 GB, free: 144.9 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.726e-05/1.802, allocations: 37.69 kB / 0.7063 GB, free: 144.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002086/1.802, allocations: 77.5 kB / 0.7064 GB, free: 144.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004168/1.806, allocations: 1.406 MB / 0.7077 GB, free: 144.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006812/1.813, allocations: 1.607 MB / 0.7093 GB, free: 144.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01716/1.83, allocations: 11.35 MB / 0.7204 GB, free: 138.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006918/1.837, allocations: 417 kB / 0.7208 GB, free: 138.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001005/1.838, allocations: 340.1 kB / 0.7211 GB, free: 138.4 MB / 478.1 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.008007/1.846, allocations: 4.158 MB / 0.7252 GB, free: 136.4 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001207/1.847, allocations: 476.8 kB / 0.7256 GB, free: 136.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.013/1.86, allocations: 8.53 MB / 0.734 GB, free: 132.9 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009176/1.869, allocations: 7.137 MB / 0.7409 GB, free: 130.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.9e-05/1.869, allocations: 11.78 kB / 0.741 GB, free: 130.1 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-05/1.87, allocations: 26.44 kB / 0.741 GB, free: 130.1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.027/1.897, allocations: 19.39 MB / 0.7599 GB, free: 115.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-05/1.897, allocations: 0 / 0.7599 GB, free: 115.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00331/1.9, allocations: 0.9398 MB / 0.7608 GB, free: 114.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003016/1.903, allocations: 1.27 MB / 0.7621 GB, free: 113.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003155/1.903, allocations: 112 kB / 0.7622 GB, free: 113.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01162/1.915, allocations: 10.06 MB / 0.772 GB, free: 103.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/1.915, allocations: 4 kB / 0.772 GB, free: 103.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01512/1.93, allocations: 12.36 MB / 0.7841 GB, free: 90.84 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002736/1.933, allocations: 1.159 MB / 0.7852 GB, free: 89.65 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007779/1.934, allocations: 92 kB / 0.7853 GB, free: 89.56 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002343/1.936, allocations: 275.8 kB / 0.7856 GB, free: 89.29 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007373/1.937, allocations: 352.3 kB / 0.7859 GB, free: 88.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002724/1.937, allocations: 152 kB / 0.786 GB, free: 88.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003614/1.941, allocations: 2.807 MB / 0.7888 GB, free: 85.98 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.941, allocations: 0 / 0.7888 GB, free: 85.98 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006613/1.947, allocations: 1.932 MB / 0.7907 GB, free: 84.05 MB / 478.1 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.0007509/1.948, allocations: 317.7 kB / 0.791 GB, free: 83.74 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.04374/1.992, allocations: 20.95 MB / 0.8114 GB, free: 62.79 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/1.992, allocations: 0 / 0.8114 GB, free: 62.79 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006764/1.999, allocations: 4.226 MB / 0.8156 GB, free: 58.55 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006936/2.006, allocations: 1.118 MB / 0.8167 GB, free: 57.45 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03385/2.039, allocations: 23.71 MB / 0.8398 GB, free: 33.65 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006525/2.046, allocations: 6.804 MB / 0.8464 GB, free: 26.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002215/2.048, allocations: 471.3 kB / 0.8469 GB, free: 26.34 MB / 478.1 MB Notification: Performance of SimCode: time 1.072e-06/2.048, allocations: 0 / 0.8469 GB, free: 26.34 MB / 478.1 MB Notification: Performance of Templates: time 0.452/2.5, allocations: 181.6 MB / 1.024 GB, free: 8.219 MB / 478.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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