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.001491/0.001491, allocations: 110.2 kB / 18.25 MB, free: 4.758 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.00131/0.00131, allocations: 195.3 kB / 19.18 MB, free: 3.836 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.404/1.404, allocations: 205.1 MB / 225 MB, free: 12.3 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.001203/0.001203, allocations: 47.92 kB / 281.3 MB, free: 3.156 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09985/0.1011, allocations: 46.63 MB / 328 MB, free: 4.457 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.0259/0.127, allocations: 24.89 MB / 352.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01637/0.1434, allocations: 7.35 MB / 360.2 MB, free: 4.078 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005731/0.1492, allocations: 155.6 kB / 360.4 MB, free: 3.926 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02076/0.1701, allocations: 8.787 MB / 369.2 MB, free: 11.1 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0112/0.1813, allocations: 2.98 MB / 372.1 MB, free: 8.105 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005729/0.187, allocations: 1.731 MB / 373.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2158/0.4028, allocations: 10.78 MB / 384.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03353/0.4364, allocations: 21.97 MB / 406.6 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01102/0.4475, allocations: 5.763 MB / 412.4 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01581/0.4634, allocations: 6.874 MB / 419.3 MB, free: 0 / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004938/0.4684, allocations: 1.688 MB / 420.9 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007275/0.4757, allocations: 2.05 MB / 423 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005634/0.4813, allocations: 3.22 MB / 426.2 MB, free: 9.605 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01218/0.4935, allocations: 6.18 MB / 432.4 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02677/0.5203, allocations: 22.26 MB / 454.7 MB, free: 14.44 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.886e-06/0.5204, allocations: 0 / 454.7 MB, free: 14.44 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.5204, allocations: 0 / 454.7 MB, free: 14.44 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005781/0.521, allocations: 4 kB / 454.7 MB, free: 14.44 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.04043/0.5614, allocations: 12.97 MB / 467.6 MB, free: 1.469 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.5615, allocations: 11.78 kB / 467.6 MB, free: 1.461 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04144/0.6029, allocations: 7.132 MB / 474.8 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01375/0.6167, allocations: 6.154 MB / 480.9 MB, free: 4.484 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007432/0.6175, allocations: 0.7133 MB / 481.6 MB, free: 3.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004354/0.6219, allocations: 0.945 MB / 482.6 MB, free: 2.848 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04021/0.6621, allocations: 16.2 MB / 498.8 MB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003272/0.6625, allocations: 15.84 kB / 498.8 MB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003552/0.666, allocations: 405.1 kB / 499.2 MB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007054/0.6668, allocations: 0.5787 MB / 499.8 MB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03689/0.7037, allocations: 15.45 MB / 0.5031 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2891/0.9928, allocations: 52.86 MB / 0.5548 GB, free: 121.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02354/1.016, allocations: 35.5 MB / 0.5894 GB, free: 91.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005145/1.022, allocations: 3.401 MB / 0.5928 GB, free: 91.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01445/1.036, allocations: 10.09 MB / 0.6026 GB, free: 87.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.485e-05/1.036, allocations: 64.52 kB / 0.6027 GB, free: 86.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=297): time 5.28e-06/1.036, allocations: 3.781 kB / 0.6027 GB, free: 86.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=303): time 0.0325/1.069, allocations: 15.35 MB / 0.6177 GB, free: 78.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/1.069, allocations: 85.16 kB / 0.6177 GB, free: 78.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005096/1.074, allocations: 3.851 MB / 0.6215 GB, free: 76.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004133/1.074, allocations: 76.98 kB / 0.6216 GB, free: 76.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001846/1.076, allocations: 4.253 MB / 0.6257 GB, free: 72.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007982/1.077, allocations: 1.057 MB / 0.6268 GB, free: 71.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001337/1.078, allocations: 1.092 MB / 0.6278 GB, free: 70.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.906e-05/1.078, allocations: 313 kB / 0.6281 GB, free: 70.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003171/1.081, allocations: 2.553 MB / 0.6306 GB, free: 69.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003977/1.085, allocations: 4.91 MB / 0.6354 GB, free: 64.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007251/1.093, allocations: 7.945 MB / 0.6432 GB, free: 55.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.55e-05/1.093, allocations: 20 kB / 0.6432 GB, free: 55.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01183/1.105, allocations: 8.649 MB / 0.6516 GB, free: 46.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.931e-05/1.105, allocations: 43.84 kB / 0.6517 GB, free: 46.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.706e-05/1.105, allocations: 80 kB / 0.6518 GB, free: 46.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003043/1.108, allocations: 1.254 MB / 0.653 GB, free: 45.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003653/1.112, allocations: 1.228 MB / 0.6542 GB, free: 44.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01205/1.124, allocations: 9.951 MB / 0.6639 GB, free: 34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004167/1.128, allocations: 331.4 kB / 0.6642 GB, free: 33.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005702/1.128, allocations: 288 kB / 0.6645 GB, free: 33.39 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.007023/1.135, allocations: 3.725 MB / 0.6681 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001749/1.137, allocations: 379.3 kB / 0.6685 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01102/1.148, allocations: 5.818 MB / 0.6742 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007266/1.156, allocations: 4.77 MB / 0.6788 GB, free: 18.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.179e-05/1.156, allocations: 8 kB / 0.6788 GB, free: 18.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-05/1.156, allocations: 15.94 kB / 0.6789 GB, free: 18.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02243/1.178, allocations: 13.73 MB / 0.6923 GB, free: 4.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/1.178, allocations: 11.83 kB / 0.6923 GB, free: 4.742 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002243/1.18, allocations: 0.5582 MB / 0.6928 GB, free: 4.184 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002879/1.183, allocations: 1.121 MB / 0.6939 GB, free: 3.059 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003029/1.184, allocations: 67.98 kB / 0.694 GB, free: 2.992 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01275/1.196, allocations: 8.848 MB / 0.7026 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/1.196, allocations: 4 kB / 0.7026 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0144/1.211, allocations: 8.509 MB / 0.7109 GB, free: 1.379 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002167/1.213, allocations: 0.8633 MB / 0.7118 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008782/1.214, allocations: 56 kB / 0.7118 GB, free: 448 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002251/1.216, allocations: 183.9 kB / 0.712 GB, free: 264 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005879/1.217, allocations: 230.5 kB / 0.7122 GB, free: 32 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.2237/1.44, allocations: 89.08 kB / 0.7123 GB, free: 150.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004955/1.445, allocations: 2.587 MB / 0.7148 GB, free: 150.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.71e-07/1.445, allocations: 0 / 0.7148 GB, free: 150.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007167/1.453, allocations: 1.552 MB / 0.7163 GB, free: 150.6 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.0009052/1.454, allocations: 239.5 kB / 0.7166 GB, free: 150.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.02219/1.476, allocations: 9.986 MB / 0.7263 GB, free: 149.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/1.476, allocations: 3.875 kB / 0.7263 GB, free: 149.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005738/1.482, allocations: 2.964 MB / 0.7292 GB, free: 148.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006012/1.488, allocations: 0.9436 MB / 0.7301 GB, free: 147.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02766/1.515, allocations: 16 MB / 0.7458 GB, free: 140.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005588/1.521, allocations: 6.046 MB / 0.7517 GB, free: 138.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001528/1.522, allocations: 352.5 kB / 0.752 GB, free: 138.1 MB / 462.1 MB Notification: Performance of SimCode: time 1.232e-06/1.523, allocations: 0 / 0.752 GB, free: 138.1 MB / 462.1 MB Notification: Performance of Templates: time 0.3605/1.883, allocations: 156.7 MB / 0.905 GB, free: 142.4 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 -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