Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001353/0.001353, allocations: 114.3 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001468/0.001468, allocations: 206.8 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 55.91 kB / 359.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2097, allocations: 50.54 MB / 410 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02393/0.2337, allocations: 24.87 MB / 434.9 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01238/0.2461, allocations: 8.054 MB / 442.9 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001646/0.2478, allocations: 183.4 kB / 443.1 MB, free: 336 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01612/0.2639, allocations: 8.419 MB / 451.5 MB, free: 7.891 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006386/0.2703, allocations: 3.07 MB / 454.6 MB, free: 4.809 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003599/0.2739, allocations: 1.836 MB / 456.4 MB, free: 2.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01033/0.2843, allocations: 11.2 MB / 467.6 MB, free: 7.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0265/0.3108, allocations: 23.32 MB / 491 MB, free: 252 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006739/0.3176, allocations: 5.927 MB / 496.9 MB, free: 10.3 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007682/0.3253, allocations: 6.483 MB / 0.4916 GB, free: 3.797 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002118/0.3274, allocations: 1.715 MB / 0.4932 GB, free: 2.082 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003203/0.3306, allocations: 2.152 MB / 0.4954 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00253/0.3332, allocations: 3.398 MB / 0.4987 GB, free: 12.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005865/0.339, allocations: 6.354 MB / 0.5049 GB, free: 6.148 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01895/0.358, allocations: 23.14 MB / 0.5275 GB, free: 14.94 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.358, allocations: 0 / 0.5275 GB, free: 14.94 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.358, allocations: 0 / 0.5275 GB, free: 14.94 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003014/0.3583, allocations: 0 / 0.5275 GB, free: 14.94 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.03124/0.3896, allocations: 13.4 MB / 0.5406 GB, free: 1.434 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.3896, allocations: 11.97 kB / 0.5406 GB, free: 1.422 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3508/0.7405, allocations: 6.273 MB / 0.5467 GB, free: 111.1 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.011/0.7515, allocations: 7.256 MB / 0.5538 GB, free: 106.8 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000321/0.7518, allocations: 0.7179 MB / 0.5545 GB, free: 106.4 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001679/0.7535, allocations: 0.9455 MB / 0.5554 GB, free: 106.1 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02375/0.7773, allocations: 16.13 MB / 0.5712 GB, free: 92.84 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000184/0.7775, allocations: 15.84 kB / 0.5712 GB, free: 92.82 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001064/0.7786, allocations: 407.5 kB / 0.5716 GB, free: 92.44 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000359/0.7789, allocations: 0.5669 MB / 0.5721 GB, free: 91.87 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02129/0.8002, allocations: 15.1 MB / 0.5869 GB, free: 76.75 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05557/0.8558, allocations: 52.48 MB / 0.6381 GB, free: 23.39 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01384/0.8697, allocations: 20.09 MB / 0.6577 GB, free: 1.32 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0048/0.8745, allocations: 3.635 MB / 0.6613 GB, free: 13.69 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004182/0.875, allocations: 260.7 kB / 0.6615 GB, free: 13.41 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.786e-05/0.875, allocations: 78.06 kB / 0.6616 GB, free: 13.33 MB / 478.1 MB Notification: Performance of pre-optimization done (n=447): time 6.382e-06/0.8751, allocations: 0 / 0.6616 GB, free: 13.33 MB / 478.1 MB Notification: Performance of matching and sorting (n=452): time 0.04889/0.924, allocations: 20.64 MB / 0.6818 GB, free: 8.582 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.924, allocations: 98.95 kB / 0.6819 GB, free: 8.473 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005798/0.9298, allocations: 4.502 MB / 0.6863 GB, free: 3.949 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002654/0.9301, allocations: 97.7 kB / 0.6864 GB, free: 3.848 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002535/0.9327, allocations: 4.201 MB / 0.6905 GB, free: 15.59 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001124/0.9338, allocations: 1.537 MB / 0.692 GB, free: 14.04 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001748/0.9355, allocations: 1.188 MB / 0.6931 GB, free: 12.84 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 9.115e-05/0.9356, allocations: 313 kB / 0.6934 GB, free: 12.53 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004477/0.9401, allocations: 3.065 MB / 0.6964 GB, free: 9.457 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005867/0.946, allocations: 5.208 MB / 0.7015 GB, free: 3.277 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01105/0.9571, allocations: 8.875 MB / 0.7102 GB, free: 9.43 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.718e-05/0.9571, allocations: 20 kB / 0.7102 GB, free: 9.41 MB / 0.5138 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01596/0.9731, allocations: 9.866 MB / 0.7198 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.941e-05/0.9731, allocations: 36 kB / 0.7199 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.275e-05/0.9732, allocations: 68 kB / 0.7199 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003907/0.9771, allocations: 1.4 MB / 0.7213 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004837/0.982, allocations: 1.384 MB / 0.7226 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01774/0.9997, allocations: 12.66 MB / 0.735 GB, free: 15.68 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003648/1.003, allocations: 359.4 kB / 0.7353 GB, free: 15.33 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005427/1.004, allocations: 296 kB / 0.7356 GB, free: 15.04 MB / 0.5451 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (720): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00555/1.01, allocations: 3.895 MB / 0.7394 GB, free: 11.14 MB / 0.5451 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008787/1.01, allocations: 462.3 kB / 0.7399 GB, free: 10.68 MB / 0.5451 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01455/1.025, allocations: 8.51 MB / 0.7482 GB, free: 2.113 MB / 0.5451 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.039e-05/1.025, allocations: 19.92 kB / 0.7482 GB, free: 2.094 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.916e-06/1.025, allocations: 0 / 0.7482 GB, free: 2.094 MB / 0.5451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001913/1.027, allocations: 1.081 MB / 0.7493 GB, free: 0.9883 MB / 0.5451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00069/1.028, allocations: 76 kB / 0.7493 GB, free: 0.9141 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002223/1.03, allocations: 223.8 kB / 0.7495 GB, free: 0.6953 MB / 0.5451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000635/1.031, allocations: 339.2 kB / 0.7499 GB, free: 372 kB / 0.5451 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1987/1.229, allocations: 7.104 MB / 0.7568 GB, free: 185.6 MB / 0.5451 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01054/1.24, allocations: 9.152 MB / 0.7657 GB, free: 182 MB / 0.5451 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002901/1.243, allocations: 2.776 MB / 0.7684 GB, free: 180.9 MB / 0.5451 GB Notification: Performance of sorting global known variables: time 0.003405/1.246, allocations: 3.12 MB / 0.7715 GB, free: 179.8 MB / 0.5451 GB Notification: Performance of Backend: time 7.01e-07/1.246, allocations: 0 / 0.7715 GB, free: 179.8 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.01044/1.257, allocations: 6.267 MB / 0.7776 GB, free: 177.4 MB / 0.5451 GB Notification: Performance of SimCode: time 0.02083/1.277, allocations: 16.81 MB / 0.794 GB, free: 165 MB / 0.5451 GB Notification: Performance of Templates: time 0.1068/1.384, allocations: 85 MB / 0.877 GB, free: 82 MB / 0.5451 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_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_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches