Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001089/0.001089, allocations: 108.4 kB / 18.36 MB, free: 4.77 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.001049/0.001049, allocations: 191 kB / 19.29 MB, free: 3.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 51.92 kB / 282.1 MB, free: 2.434 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09929/0.1005, allocations: 46.62 MB / 328.8 MB, free: 3.734 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02487/0.1254, allocations: 24.89 MB / 353.6 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01748/0.143, allocations: 7.349 MB / 361 MB, free: 3.352 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006218/0.1493, allocations: 159.5 kB / 361.2 MB, free: 3.195 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02019/0.1695, allocations: 8.778 MB / 369.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01125/0.1808, allocations: 2.996 MB / 372.9 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005271/0.186, allocations: 1.719 MB / 374.6 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2111/0.3972, allocations: 10.87 MB / 385.5 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02676/0.424, allocations: 21.87 MB / 407.4 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007431/0.4314, allocations: 5.785 MB / 413.2 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01474/0.4462, allocations: 6.889 MB / 420.1 MB, free: 0 / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008257/0.4545, allocations: 2.001 MB / 422.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006347/0.4609, allocations: 2.044 MB / 424.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004151/0.465, allocations: 3.217 MB / 427.3 MB, free: 9.809 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009925/0.475, allocations: 6.175 MB / 433.5 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02102/0.496, allocations: 22.38 MB / 455.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.4961, allocations: 0 / 455.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4961, allocations: 0 / 455.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004788/0.4966, allocations: 0 / 455.9 MB, free: 13.84 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.03826/0.5348, allocations: 12.9 MB / 468.8 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.5349, allocations: 8.031 kB / 468.8 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04006/0.575, allocations: 7.188 MB / 476 MB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01527/0.5902, allocations: 6.165 MB / 482.1 MB, free: 3.891 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007337/0.591, allocations: 0.7165 MB / 482.9 MB, free: 3.184 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003985/0.595, allocations: 0.9344 MB / 483.8 MB, free: 2.262 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03681/0.6318, allocations: 16.2 MB / 500 MB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002242/0.6321, allocations: 11.91 kB / 500 MB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001129/0.6332, allocations: 396.6 kB / 0.4887 GB, free: 1.652 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005509/0.6338, allocations: 0.5903 MB / 0.4892 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03005/0.6639, allocations: 15.46 MB / 0.5043 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4494/1.113, allocations: 52.24 MB / 0.5553 GB, free: 119.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02286/1.136, allocations: 35.5 MB / 0.59 GB, free: 89.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004981/1.141, allocations: 3.385 MB / 0.5933 GB, free: 89.33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.014/1.155, allocations: 10.05 MB / 0.6031 GB, free: 84.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.241e-05/1.155, allocations: 70.2 kB / 0.6032 GB, free: 84.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=297): time 6.953e-06/1.155, allocations: 0 / 0.6032 GB, free: 84.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=303): time 0.02955/1.185, allocations: 15.35 MB / 0.6182 GB, free: 76.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/1.185, allocations: 86.83 kB / 0.6183 GB, free: 76.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005099/1.19, allocations: 3.851 MB / 0.622 GB, free: 74.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004147/1.191, allocations: 77.61 kB / 0.6221 GB, free: 74.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001844/1.192, allocations: 4.261 MB / 0.6263 GB, free: 70.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007397/1.193, allocations: 1.051 MB / 0.6273 GB, free: 69.63 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001535/1.195, allocations: 1.092 MB / 0.6284 GB, free: 69 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.627e-05/1.195, allocations: 305.1 kB / 0.6286 GB, free: 68.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0037/1.198, allocations: 2.553 MB / 0.6311 GB, free: 67.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004052/1.203, allocations: 4.916 MB / 0.6359 GB, free: 62.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007054/1.21, allocations: 7.942 MB / 0.6437 GB, free: 53.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.425e-05/1.21, allocations: 20 kB / 0.6437 GB, free: 53.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.0115/1.221, allocations: 8.653 MB / 0.6522 GB, free: 44.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.961e-05/1.221, allocations: 43.94 kB / 0.6522 GB, free: 44.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.86e-05/1.221, allocations: 83.94 kB / 0.6523 GB, free: 44.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002926/1.224, allocations: 1.246 MB / 0.6535 GB, free: 43.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003551/1.228, allocations: 1.221 MB / 0.6547 GB, free: 41.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01191/1.24, allocations: 9.947 MB / 0.6644 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004201/1.244, allocations: 331.4 kB / 0.6647 GB, free: 31.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005833/1.245, allocations: 292 kB / 0.665 GB, free: 31.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (638): * Single equations (assignments): 636 * 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.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005426/1.25, allocations: 3.736 MB / 0.6687 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008446/1.251, allocations: 379.3 kB / 0.669 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00935/1.26, allocations: 5.803 MB / 0.6747 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006806/1.267, allocations: 4.77 MB / 0.6793 GB, free: 16.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.665e-05/1.267, allocations: 8 kB / 0.6793 GB, free: 16.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-05/1.267, allocations: 15.94 kB / 0.6794 GB, free: 16.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02399/1.291, allocations: 13.69 MB / 0.6927 GB, free: 2.617 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/1.291, allocations: 4 kB / 0.6927 GB, free: 2.613 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002312/1.293, allocations: 0.5543 MB / 0.6933 GB, free: 2.059 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002909/1.296, allocations: 1.121 MB / 0.6944 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003197/1.297, allocations: 67.98 kB / 0.6944 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01384/1.311, allocations: 8.839 MB / 0.7031 GB, free: 7.898 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/1.311, allocations: 4 kB / 0.7031 GB, free: 7.895 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1875/1.498, allocations: 8.503 MB / 0.7114 GB, free: 147 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00277/1.501, allocations: 0.8649 MB / 0.7122 GB, free: 146.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004803/1.501, allocations: 59.11 kB / 0.7123 GB, free: 146.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001874/1.503, allocations: 186.8 kB / 0.7125 GB, free: 146.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006394/1.504, allocations: 230.4 kB / 0.7127 GB, free: 146.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002486/1.504, allocations: 90.92 kB / 0.7128 GB, free: 146.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003816/1.508, allocations: 2.59 MB / 0.7153 GB, free: 146.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.01e-07/1.508, allocations: 0 / 0.7153 GB, free: 146.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005523/1.514, allocations: 1.553 MB / 0.7168 GB, free: 146.8 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (282): * Single equations (assignments): 280 * 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.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005961/1.514, allocations: 240 kB / 0.717 GB, free: 146.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01202/1.526, allocations: 6.533 MB / 0.7234 GB, free: 144.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/1.526, allocations: 1.344 kB / 0.7234 GB, free: 144.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004721/1.531, allocations: 2.965 MB / 0.7263 GB, free: 143.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003947/1.535, allocations: 0.9422 MB / 0.7272 GB, free: 143.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02279/1.558, allocations: 16.09 MB / 0.743 GB, free: 136.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005149/1.563, allocations: 6.228 MB / 0.749 GB, free: 133.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004391/1.567, allocations: 1.878 MB / 0.7509 GB, free: 133.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007795/1.568, allocations: 305.1 kB / 0.7512 GB, free: 133.5 MB / 462.1 MB Notification: Performance of SimCode: time 1.242e-06/1.568, allocations: 0 / 0.7512 GB, free: 133.5 MB / 462.1 MB Notification: Performance of Templates: time 0.08354/1.652, allocations: 58.55 MB / 0.8083 GB, free: 80.32 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches