Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00105/0.00105, allocations: 117 kB / 18.46 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001104/0.001104, allocations: 208 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 59.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2097, allocations: 50.54 MB / 410 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02433/0.2341, allocations: 24.8 MB / 434.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01204/0.2462, allocations: 7.446 MB / 442.2 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002916/0.2491, allocations: 187.4 kB / 442.4 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0185/0.2676, allocations: 8.839 MB / 451.2 MB, free: 8.184 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00804/0.2757, allocations: 2.964 MB / 454.2 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004387/0.2801, allocations: 1.722 MB / 455.9 MB, free: 3.492 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01222/0.2923, allocations: 10.82 MB / 466.7 MB, free: 8.645 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02809/0.3204, allocations: 21.83 MB / 488.6 MB, free: 2.668 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006939/0.3274, allocations: 5.744 MB / 494.3 MB, free: 12.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008658/0.3361, allocations: 6.284 MB / 0.4889 GB, free: 6.605 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003119/0.3392, allocations: 1.672 MB / 0.4905 GB, free: 4.934 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004724/0.3439, allocations: 2.046 MB / 0.4925 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003582/0.3475, allocations: 3.153 MB / 0.4956 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006903/0.3545, allocations: 6.098 MB / 0.5015 GB, free: 9.605 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02004/0.3745, allocations: 22.4 MB / 0.5234 GB, free: 3.137 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3746, allocations: 3.938 kB / 0.5234 GB, free: 3.133 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3746, allocations: 0 / 0.5234 GB, free: 3.133 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000331/0.3749, allocations: 0 / 0.5234 GB, free: 3.133 MB / 446.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.03201/0.4069, allocations: 12.96 MB / 0.5361 GB, free: 6.051 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.407, allocations: 12.02 kB / 0.5361 GB, free: 6.039 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2125/0.6194, allocations: 6.251 MB / 0.5422 GB, free: 111.9 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01219/0.6317, allocations: 6.93 MB / 0.549 GB, free: 109.1 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004242/0.6321, allocations: 0.6974 MB / 0.5496 GB, free: 108.8 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002513/0.6346, allocations: 0.9221 MB / 0.5505 GB, free: 108.5 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02807/0.6627, allocations: 15.75 MB / 0.5659 GB, free: 101 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002733/0.663, allocations: 11.95 kB / 0.5659 GB, free: 101 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001854/0.6649, allocations: 391.4 kB / 0.5663 GB, free: 100.6 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003762/0.6653, allocations: 0.5527 MB / 0.5668 GB, free: 100.1 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02153/0.6868, allocations: 14.77 MB / 0.5813 GB, free: 85.27 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05627/0.7431, allocations: 52.18 MB / 0.6322 GB, free: 31.95 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01647/0.7596, allocations: 26.46 MB / 0.6581 GB, free: 2.434 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003838/0.7634, allocations: 3.218 MB / 0.6612 GB, free: 15.21 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003963/0.7639, allocations: 248.1 kB / 0.6614 GB, free: 14.95 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.055e-05/0.7639, allocations: 69.69 kB / 0.6615 GB, free: 14.87 MB / 478.1 MB Notification: Performance of pre-optimization done (n=398): time 7.154e-06/0.7639, allocations: 3.938 kB / 0.6615 GB, free: 14.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=404): time 0.0368/0.8008, allocations: 17.42 MB / 0.6785 GB, free: 13.38 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.8008, allocations: 90.58 kB / 0.6786 GB, free: 13.28 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00541/0.8062, allocations: 3.701 MB / 0.6822 GB, free: 9.582 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002314/0.8065, allocations: 93.7 kB / 0.6823 GB, free: 9.484 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002465/0.809, allocations: 4.123 MB / 0.6863 GB, free: 5.352 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001044/0.81, allocations: 1.446 MB / 0.6877 GB, free: 3.926 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001702/0.8117, allocations: 1.14 MB / 0.6889 GB, free: 2.773 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.632e-05/0.8118, allocations: 309.1 kB / 0.6892 GB, free: 2.469 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004204/0.816, allocations: 2.795 MB / 0.6919 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005459/0.8215, allocations: 4.957 MB / 0.6967 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01039/0.8319, allocations: 8.302 MB / 0.7048 GB, free: 424 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.294e-05/0.832, allocations: 20 kB / 0.7048 GB, free: 404 kB / 0.4981 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01516/0.8471, allocations: 9.117 MB / 0.7138 GB, free: 7.258 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.558e-05/0.8472, allocations: 36 kB / 0.7138 GB, free: 7.223 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.206e-05/0.8473, allocations: 68 kB / 0.7139 GB, free: 7.156 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003485/0.8508, allocations: 1.231 MB / 0.7151 GB, free: 5.918 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004693/0.8555, allocations: 1.322 MB / 0.7163 GB, free: 4.594 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01495/0.8705, allocations: 9.917 MB / 0.726 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003762/0.8743, allocations: 335.6 kB / 0.7264 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006675/0.8749, allocations: 284 kB / 0.7266 GB, free: 9.941 MB / 0.5294 GB 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.005661/0.8806, allocations: 3.708 MB / 0.7302 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009062/0.8815, allocations: 425.3 kB / 0.7306 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01216/0.8937, allocations: 6.698 MB / 0.7372 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.13e-05/0.8938, allocations: 23.91 kB / 0.7372 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/0.8938, allocations: 0 / 0.7372 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001763/0.8955, allocations: 0.9823 MB / 0.7382 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006316/0.8962, allocations: 68 kB / 0.7382 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001963/0.8981, allocations: 203.8 kB / 0.7384 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005619/0.8987, allocations: 298.9 kB / 0.7387 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0112/0.9099, allocations: 6.342 MB / 0.7449 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1996/1.11, allocations: 8.187 MB / 0.7529 GB, free: 186.3 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003384/1.113, allocations: 2.502 MB / 0.7553 GB, free: 186.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00308/1.116, allocations: 2.499 MB / 0.7578 GB, free: 185.7 MB / 0.545 GB Notification: Performance of Backend: time 3.51e-07/1.116, allocations: 3.938 kB / 0.7578 GB, free: 185.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00876/1.125, allocations: 5.28 MB / 0.7629 GB, free: 183.7 MB / 0.545 GB Notification: Performance of SimCode: time 0.0208/1.146, allocations: 15.73 MB / 0.7783 GB, free: 176.4 MB / 0.545 GB Notification: Performance of Templates: time 0.09969/1.245, allocations: 78.66 MB / 0.8551 GB, free: 108.4 MB / 0.545 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches