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.001755/0.001755, allocations: 109.2 kB / 17.73 MB, free: 5.324 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.001948/0.001948, allocations: 188.2 kB / 18.66 MB, free: 4.395 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.63/1.63, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.002489/0.002489, allocations: 51.92 kB / 328.6 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1606, allocations: 46.63 MB / 375.2 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.2461/0.4068, allocations: 27.07 MB / 402.3 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02118/0.428, allocations: 7.994 MB / 410.3 MB, free: 6.422 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009131/0.4372, allocations: 170.2 kB / 410.4 MB, free: 6.387 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02342/0.4607, allocations: 9.362 MB / 419.8 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01599/0.4767, allocations: 3.37 MB / 423.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007473/0.4842, allocations: 1.841 MB / 425 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0208/0.505, allocations: 12.28 MB / 437.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0441/0.5492, allocations: 24.42 MB / 461.7 MB, free: 9.031 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01544/0.5647, allocations: 6.538 MB / 468.2 MB, free: 2.477 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01507/0.5798, allocations: 7.269 MB / 475.5 MB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006495/0.5864, allocations: 1.848 MB / 477.3 MB, free: 9.332 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009114/0.5955, allocations: 2.218 MB / 479.6 MB, free: 7.117 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00748/0.603, allocations: 3.667 MB / 483.2 MB, free: 3.441 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01637/0.6194, allocations: 7.008 MB / 490.2 MB, free: 12.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03702/0.6565, allocations: 24.76 MB / 0.5029 GB, free: 3.574 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.04e-05/0.6565, allocations: 0 / 0.5029 GB, free: 3.574 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.6566, allocations: 0 / 0.5029 GB, free: 3.574 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0009853/0.6575, allocations: 0 / 0.5029 GB, free: 3.574 MB / 430.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.05674/0.7143, allocations: 14.67 MB / 0.5173 GB, free: 4.797 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.541e-05/0.7144, allocations: 8.031 kB / 0.5173 GB, free: 4.789 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05585/0.7703, allocations: 9.475 MB / 0.5265 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0199/0.7903, allocations: 6.895 MB / 0.5333 GB, free: 4.309 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00111/0.7914, allocations: 0.8188 MB / 0.5341 GB, free: 3.488 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006131/0.7976, allocations: 1.074 MB / 0.5351 GB, free: 2.414 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4953/1.293, allocations: 18.74 MB / 0.5534 GB, free: 134.9 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005019/1.293, allocations: 14.98 kB / 0.5534 GB, free: 134.9 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004632/1.298, allocations: 453.5 kB / 0.5539 GB, free: 134.9 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001264/1.299, allocations: 0.6991 MB / 0.5545 GB, free: 134.9 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04585/1.345, allocations: 18.22 MB / 0.5723 GB, free: 129.1 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1184/1.464, allocations: 59.34 MB / 0.6303 GB, free: 80.26 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03307/1.497, allocations: 46.73 MB / 0.6759 GB, free: 28.61 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008162/1.505, allocations: 4.273 MB / 0.6801 GB, free: 24.31 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02696/1.532, allocations: 12.34 MB / 0.6921 GB, free: 12.01 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.324e-05/1.532, allocations: 81.56 kB / 0.6922 GB, free: 11.92 MB / 478.1 MB Notification: Performance of pre-optimization done (n=385): time 7.154e-06/1.532, allocations: 0 / 0.6922 GB, free: 11.92 MB / 478.1 MB Notification: Performance of matching and sorting (n=391): time 0.05285/1.585, allocations: 19.29 MB / 0.7111 GB, free: 8.547 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.092e-05/1.585, allocations: 94.47 kB / 0.7112 GB, free: 8.441 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007883/1.593, allocations: 4.346 MB / 0.7154 GB, free: 4.074 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009525/1.594, allocations: 89.7 kB / 0.7155 GB, free: 3.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003494/1.598, allocations: 4.82 MB / 0.7202 GB, free: 15.12 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002086/1.6, allocations: 1.347 MB / 0.7215 GB, free: 13.79 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002247/1.602, allocations: 1.278 MB / 0.7228 GB, free: 12.5 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001133/1.602, allocations: 301.1 kB / 0.723 GB, free: 12.2 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005188/1.607, allocations: 3.128 MB / 0.7261 GB, free: 9.07 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00734/1.615, allocations: 5.739 MB / 0.7317 GB, free: 2.109 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01358/1.628, allocations: 9.442 MB / 0.7409 GB, free: 7.43 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.474e-05/1.628, allocations: 27.94 kB / 0.7409 GB, free: 7.402 MB / 0.5138 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.2824/1.911, allocations: 10.28 MB / 0.751 GB, free: 164.3 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/1.911, allocations: 42.38 kB / 0.751 GB, free: 164.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001631/1.911, allocations: 86.84 kB / 0.7511 GB, free: 164.3 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004103/1.915, allocations: 1.448 MB / 0.7525 GB, free: 164.3 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006204/1.921, allocations: 1.458 MB / 0.7539 GB, free: 164.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01691/1.938, allocations: 11.45 MB / 0.7651 GB, free: 159.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005238/1.944, allocations: 400.8 kB / 0.7655 GB, free: 159.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001102/1.945, allocations: 327.9 kB / 0.7658 GB, free: 159.2 MB / 0.5138 GB 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 (752): * Single equations (assignments): 750 * 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,56,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008176/1.953, allocations: 4.183 MB / 0.7699 GB, free: 157.3 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001368/1.954, allocations: 446.9 kB / 0.7703 GB, free: 157.3 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01271/1.967, allocations: 7.352 MB / 0.7775 GB, free: 154.4 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008402/1.975, allocations: 6.035 MB / 0.7834 GB, free: 152.1 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.842e-05/1.976, allocations: 11.69 kB / 0.7834 GB, free: 152.1 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.341e-05/1.976, allocations: 22.12 kB / 0.7834 GB, free: 152.1 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02651/2.002, allocations: 16.33 MB / 0.7994 GB, free: 145.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/2.002, allocations: 0 / 0.7994 GB, free: 145.7 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002809/2.005, allocations: 0.73 MB / 0.8001 GB, free: 145.7 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003516/2.008, allocations: 1.3 MB / 0.8014 GB, free: 145 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003773/2.009, allocations: 83.66 kB / 0.8015 GB, free: 144.9 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0121/2.021, allocations: 10.18 MB / 0.8114 GB, free: 136.1 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/2.021, allocations: 7.266 kB / 0.8114 GB, free: 136.1 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01393/2.035, allocations: 10.54 MB / 0.8217 GB, free: 126 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002365/2.037, allocations: 1.039 MB / 0.8227 GB, free: 125.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008688/2.038, allocations: 72 kB / 0.8228 GB, free: 125 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002559/2.041, allocations: 247.8 kB / 0.823 GB, free: 124.8 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006796/2.041, allocations: 275.5 kB / 0.8233 GB, free: 124.5 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002362/2.042, allocations: 116 kB / 0.8234 GB, free: 124.4 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.003843/2.046, allocations: 2.904 MB / 0.8262 GB, free: 121.5 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.222e-06/2.046, allocations: 0 / 0.8262 GB, free: 121.5 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.006776/2.052, allocations: 1.851 MB / 0.828 GB, free: 119.6 MB / 0.5138 GB 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 (360): * Single equations (assignments): 358 * 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,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.000807/2.053, allocations: 260.5 kB / 0.8283 GB, free: 119.4 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01201/2.065, allocations: 7.912 MB / 0.836 GB, free: 111.5 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/2.065, allocations: 0 / 0.836 GB, free: 111.5 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.006067/2.071, allocations: 3.648 MB / 0.8396 GB, free: 107.8 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005438/2.077, allocations: 1.092 MB / 0.8406 GB, free: 106.7 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03168/2.109, allocations: 18.71 MB / 0.8589 GB, free: 88 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009548/2.118, allocations: 7.036 MB / 0.8658 GB, free: 80.91 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.00707/2.125, allocations: 2.244 MB / 0.868 GB, free: 78.66 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00174/2.127, allocations: 366.8 kB / 0.8683 GB, free: 78.3 MB / 0.5138 GB Notification: Performance of SimCode: time 1.453e-06/2.127, allocations: 0 / 0.8683 GB, free: 78.3 MB / 0.5138 GB Notification: Performance of Templates: time 0.1093/2.236, allocations: 71.92 MB / 0.9386 GB, free: 6.363 MB / 0.5138 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (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) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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