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.IMC_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.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 105.8 kB / 17.59 MB, free: 5.445 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.001133/0.001133, allocations: 187.3 kB / 18.51 MB, free: 4.527 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.352/1.352, allocations: 222.9 MB / 242.2 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009853/0.0009853, allocations: 46.77 kB / 301.3 MB, free: 5.875 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09969/0.1007, allocations: 49.44 MB / 350.8 MB, free: 4.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.2306/0.3314, allocations: 24.75 MB / 375.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01642/0.3478, allocations: 7.354 MB / 382.9 MB, free: 8.906 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006281/0.3542, allocations: 187.1 kB / 383 MB, free: 8.871 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01969/0.3739, allocations: 8.782 MB / 391.8 MB, free: 6.141 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01169/0.3856, allocations: 2.92 MB / 394.7 MB, free: 4.398 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00559/0.3912, allocations: 1.699 MB / 396.4 MB, free: 3.066 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01629/0.4075, allocations: 10.64 MB / 407.1 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04346/0.451, allocations: 21.92 MB / 429 MB, free: 7.703 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01269/0.4637, allocations: 5.693 MB / 434.7 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01469/0.4785, allocations: 6.288 MB / 441 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005625/0.4842, allocations: 1.668 MB / 442.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008226/0.4924, allocations: 2.039 MB / 444.7 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006425/0.4989, allocations: 3.157 MB / 447.9 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01451/0.5135, allocations: 6.098 MB / 454 MB, free: 14.69 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03297/0.5465, allocations: 22.22 MB / 476.2 MB, free: 8.418 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.146e-05/0.5465, allocations: 0 / 476.2 MB, free: 8.418 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5465, allocations: 8 kB / 476.2 MB, free: 8.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008572/0.5474, allocations: 0 / 476.2 MB, free: 8.41 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.05237/0.5998, allocations: 12.77 MB / 488.9 MB, free: 11.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/0.5999, allocations: 8.031 kB / 489 MB, free: 11.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03662/0.6365, allocations: 6.154 MB / 495.1 MB, free: 5.359 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01762/0.6542, allocations: 6.722 MB / 0.4901 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009217/0.6551, allocations: 0.7025 MB / 0.4908 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004982/0.6601, allocations: 0.9295 MB / 0.4917 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04566/0.7058, allocations: 15.74 MB / 0.507 GB, free: 13.13 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005548/0.7064, allocations: 15.91 kB / 0.5071 GB, free: 13.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004175/0.7106, allocations: 388 kB / 0.5074 GB, free: 12.74 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007541/0.7114, allocations: 0.5509 MB / 0.508 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4341/1.145, allocations: 14.76 MB / 0.5224 GB, free: 115.6 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09093/1.236, allocations: 51.62 MB / 0.5728 GB, free: 81.78 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01854/1.255, allocations: 26.47 MB / 0.5986 GB, free: 56.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004617/1.26, allocations: 3.21 MB / 0.6018 GB, free: 54.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003114/1.26, allocations: 175.2 kB / 0.6019 GB, free: 54.42 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.933e-05/1.26, allocations: 73.69 kB / 0.602 GB, free: 54.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=398): time 5.961e-06/1.26, allocations: 4 kB / 0.602 GB, free: 54.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=404): time 0.03583/1.296, allocations: 17.29 MB / 0.6189 GB, free: 36.97 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/1.296, allocations: 94.52 kB / 0.619 GB, free: 36.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005044/1.301, allocations: 3.692 MB / 0.6226 GB, free: 33.17 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007543/1.302, allocations: 89.7 kB / 0.6227 GB, free: 33.08 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001733/1.304, allocations: 3.985 MB / 0.6266 GB, free: 29.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001324/1.305, allocations: 1.374 MB / 0.6279 GB, free: 27.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001511/1.306, allocations: 1.14 MB / 0.629 GB, free: 26.55 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.757e-05/1.307, allocations: 301.1 kB / 0.6293 GB, free: 26.26 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00348/1.31, allocations: 2.799 MB / 0.6321 GB, free: 23.45 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004336/1.314, allocations: 4.959 MB / 0.6369 GB, free: 17.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009128/1.324, allocations: 8.31 MB / 0.645 GB, free: 8.191 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-05/1.324, allocations: 20 kB / 0.645 GB, free: 8.172 MB / 430.1 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01579/1.339, allocations: 9.096 MB / 0.6539 GB, free: 15.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.302e-05/1.34, allocations: 36 kB / 0.6539 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001426/1.34, allocations: 75.94 kB / 0.654 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003714/1.343, allocations: 1.235 MB / 0.6552 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005381/1.349, allocations: 1.318 MB / 0.6565 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01762/1.366, allocations: 9.927 MB / 0.6662 GB, free: 2.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00508/1.372, allocations: 327.4 kB / 0.6665 GB, free: 2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001427/1.373, allocations: 284 kB / 0.6668 GB, free: 1.723 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008758/1.382, allocations: 3.71 MB / 0.6704 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0016/1.383, allocations: 399.1 kB / 0.6708 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01585/1.399, allocations: 6.701 MB / 0.6773 GB, free: 6.871 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01161/1.411, allocations: 5.599 MB / 0.6828 GB, free: 1.25 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.392e-05/1.411, allocations: 8 kB / 0.6828 GB, free: 1.242 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.999e-05/1.411, allocations: 23.92 kB / 0.6828 GB, free: 1.219 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03669/1.448, allocations: 16.11 MB / 0.6986 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-05/1.448, allocations: 4 kB / 0.6986 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002973/1.451, allocations: 0.7216 MB / 0.6993 GB, free: 204 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.255/1.706, allocations: 1.121 MB / 0.7004 GB, free: 152.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007369/1.707, allocations: 90.09 kB / 0.7005 GB, free: 152.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01327/1.72, allocations: 8.854 MB / 0.7091 GB, free: 149.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/1.72, allocations: 11.59 kB / 0.7091 GB, free: 149.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01611/1.736, allocations: 9.841 MB / 0.7187 GB, free: 145.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002347/1.738, allocations: 0.9559 MB / 0.7197 GB, free: 145.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005826/1.739, allocations: 79.91 kB / 0.7197 GB, free: 145.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001927/1.741, allocations: 199.9 kB / 0.7199 GB, free: 145.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006638/1.742, allocations: 288.3 kB / 0.7202 GB, free: 145.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002391/1.742, allocations: 117.5 kB / 0.7203 GB, free: 145.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003304/1.745, allocations: 2.495 MB / 0.7227 GB, free: 144.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.61e-07/1.745, allocations: 0 / 0.7227 GB, free: 144.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005051/1.75, allocations: 1.605 MB / 0.7243 GB, free: 144.2 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.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 (389): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006007/1.751, allocations: 292.2 kB / 0.7246 GB, free: 144 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.03/1.781, allocations: 13.65 MB / 0.7379 GB, free: 139.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/1.781, allocations: 2.719 kB / 0.7379 GB, free: 139.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00565/1.787, allocations: 3.393 MB / 0.7412 GB, free: 136.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004442/1.791, allocations: 0.9749 MB / 0.7422 GB, free: 135.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02423/1.815, allocations: 16.29 MB / 0.7581 GB, free: 120.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004952/1.82, allocations: 5.999 MB / 0.764 GB, free: 115.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001581/1.822, allocations: 385.9 kB / 0.7643 GB, free: 115.5 MB / 478.1 MB Notification: Performance of SimCode: time 8.31e-07/1.822, allocations: 0 / 0.7643 GB, free: 115.5 MB / 478.1 MB Notification: Performance of Templates: time 0.4162/2.238, allocations: 157.7 MB / 0.9183 GB, free: 126 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches