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.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 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.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.001117/0.001117, allocations: 93.94 kB / 16.93 MB, free: 5.984 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.001284/0.001284, allocations: 180.7 kB / 17.82 MB, free: 5.652 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.415/1.415, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004861/0.0004862, allocations: 15.44 kB / 280.8 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08786/0.08836, allocations: 47.57 MB / 328.3 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02339/0.1118, allocations: 21.66 MB / 350 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01628/0.1281, allocations: 7.613 MB / 357.6 MB, free: 6.711 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004817/0.133, allocations: 155.5 kB / 357.8 MB, free: 6.559 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005755/0.1388, allocations: 1.64 MB / 359.4 MB, free: 4.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008828/0.1476, allocations: 2.832 MB / 362.2 MB, free: 2.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004599/0.1522, allocations: 1.287 MB / 363.5 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01634/0.1686, allocations: 10.93 MB / 374.5 MB, free: 5.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1974/0.3661, allocations: 19.65 MB / 394.1 MB, free: 12.22 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008312/0.3744, allocations: 4.408 MB / 398.5 MB, free: 12.22 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008158/0.3826, allocations: 4.845 MB / 403.4 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003375/0.386, allocations: 0.7194 MB / 404.1 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005013/0.3911, allocations: 1.009 MB / 405.1 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003148/0.3943, allocations: 2.193 MB / 407.3 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003505/0.3978, allocations: 2.338 MB / 409.6 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01524/0.413, allocations: 20.87 MB / 430.5 MB, free: 13.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4131, allocations: 0 / 430.5 MB, free: 13.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.4131, allocations: 4 kB / 430.5 MB, free: 13.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000635/0.4137, allocations: 3.938 kB / 430.5 MB, free: 13.18 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.03452/0.4483, allocations: 12.32 MB / 442.8 MB, free: 2.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.4483, allocations: 8.031 kB / 442.8 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05251/0.5008, allocations: 9.253 MB / 452.1 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01772/0.5186, allocations: 6.815 MB / 458.9 MB, free: 4.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001043/0.5197, allocations: 0.8192 MB / 459.7 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004768/0.5245, allocations: 1.069 MB / 460.8 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04347/0.568, allocations: 18.59 MB / 479.4 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00034/0.5683, allocations: 23.75 kB / 479.4 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003131/0.5715, allocations: 454.3 kB / 479.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000775/0.5723, allocations: 0.7027 MB / 480.5 MB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03615/0.6084, allocations: 18.15 MB / 498.7 MB, free: 12.47 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4201/1.029, allocations: 60.08 MB / 0.5457 GB, free: 95.87 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02923/1.058, allocations: 46.68 MB / 0.5913 GB, free: 56.31 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02274/1.081, allocations: 12.56 MB / 0.6035 GB, free: 53.54 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.858e-05/1.081, allocations: 73.17 kB / 0.6036 GB, free: 53.47 MB / 430.1 MB Notification: Performance of pre-optimization done (n=395): time 5.34e-06/1.081, allocations: 0 / 0.6036 GB, free: 53.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=401): time 0.04046/1.121, allocations: 19.76 MB / 0.6229 GB, free: 43.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.904e-05/1.121, allocations: 98.25 kB / 0.623 GB, free: 43.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005745/1.127, allocations: 4.259 MB / 0.6271 GB, free: 41.11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008404/1.128, allocations: 97.48 kB / 0.6272 GB, free: 41.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002294/1.13, allocations: 4.807 MB / 0.6319 GB, free: 36.83 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00129/1.132, allocations: 1.383 MB / 0.6333 GB, free: 35.64 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003377/1.132, allocations: 131.6 kB / 0.6334 GB, free: 35.54 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002733/1.132, allocations: 0.5645 MB / 0.634 GB, free: 35.05 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003997/1.136, allocations: 3.165 MB / 0.637 GB, free: 33.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004997/1.141, allocations: 5.763 MB / 0.6427 GB, free: 28.04 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005551/1.147, allocations: 4.444 MB / 0.647 GB, free: 23.58 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.247e-05/1.147, allocations: 24 kB / 0.647 GB, free: 23.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=832) (initialization): time 0.01568/1.163, allocations: 10.35 MB / 0.6571 GB, free: 13.19 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.623e-05/1.163, allocations: 44 kB / 0.6572 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001132/1.163, allocations: 84 kB / 0.6573 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003215/1.166, allocations: 1.408 MB / 0.6586 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005131/1.171, allocations: 1.474 MB / 0.6601 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01348/1.185, allocations: 10.86 MB / 0.6707 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004959/1.19, allocations: 404.5 kB / 0.6711 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000957/1.191, allocations: 328 kB / 0.6714 GB, free: 14.48 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (759): * Single equations (assignments): 754 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.8%) 56} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007725/1.198, allocations: 4.184 MB / 0.6755 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001152/1.2, allocations: 446.5 kB / 0.6759 GB, free: 9.836 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01322/1.213, allocations: 7.474 MB / 0.6832 GB, free: 2.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009743/1.223, allocations: 6.118 MB / 0.6892 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.222e-05/1.223, allocations: 23.98 kB / 0.6892 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.673e-05/1.223, allocations: 19.92 kB / 0.6892 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1894/1.412, allocations: 16.53 MB / 0.7054 GB, free: 140.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/1.412, allocations: 1.312 kB / 0.7054 GB, free: 140.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00329/1.415, allocations: 0.7397 MB / 0.7061 GB, free: 140.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003511/1.419, allocations: 1.24 MB / 0.7073 GB, free: 140.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005341/1.42, allocations: 87 kB / 0.7074 GB, free: 140.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01331/1.433, allocations: 9.623 MB / 0.7168 GB, free: 137.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.433, allocations: 1.375 kB / 0.7168 GB, free: 137.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01437/1.447, allocations: 10.8 MB / 0.7273 GB, free: 133.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00283/1.45, allocations: 1.061 MB / 0.7284 GB, free: 132.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001072/1.451, allocations: 70.33 kB / 0.7284 GB, free: 132.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002705/1.454, allocations: 257.3 kB / 0.7287 GB, free: 132.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007264/1.455, allocations: 270.1 kB / 0.7289 GB, free: 132.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000295/1.455, allocations: 118.8 kB / 0.729 GB, free: 132.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004522/1.46, allocations: 2.847 MB / 0.7318 GB, free: 131.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.21e-07/1.46, allocations: 0 / 0.7318 GB, free: 131.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00742/1.467, allocations: 1.841 MB / 0.7336 GB, free: 131.3 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.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 (367): * Single equations (assignments): 362 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,40.3%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001078/1.468, allocations: 269.3 kB / 0.7339 GB, free: 131.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01219/1.48, allocations: 8.027 MB / 0.7417 GB, free: 128.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/1.48, allocations: 3.938 kB / 0.7417 GB, free: 128.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00602/1.486, allocations: 3.706 MB / 0.7453 GB, free: 126.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005277/1.492, allocations: 0.9855 MB / 0.7463 GB, free: 126.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02995/1.522, allocations: 22.47 MB / 0.7682 GB, free: 107.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007105/1.529, allocations: 7.212 MB / 0.7753 GB, free: 101.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005953/1.535, allocations: 2.244 MB / 0.7775 GB, free: 99.19 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/1.536, allocations: 367.4 kB / 0.7778 GB, free: 98.83 MB / 462.1 MB Notification: Performance of SimCode: time 1.112e-06/1.536, allocations: 0 / 0.7778 GB, free: 98.83 MB / 462.1 MB Notification: Performance of Templates: time 0.09761/1.634, allocations: 69.84 MB / 0.846 GB, free: 28.95 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches