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.001709/0.001709, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001989/0.001989, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 246.9 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 64.5 kB / 306.9 MB, free: 0.9609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.108, allocations: 50.54 MB / 357.5 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.2055/0.3135, allocations: 24.44 MB / 381.9 MB, free: 8.645 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01722/0.3308, allocations: 8.015 MB / 389.9 MB, free: 3.758 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008095/0.3389, allocations: 179.2 kB / 390.1 MB, free: 3.719 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01791/0.3569, allocations: 7.919 MB / 398 MB, free: 15.03 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01275/0.3697, allocations: 2.765 MB / 400.8 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006895/0.3766, allocations: 1.714 MB / 402.5 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01698/0.3936, allocations: 11.09 MB / 413.6 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03598/0.4297, allocations: 19.62 MB / 433.2 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009582/0.4393, allocations: 5.09 MB / 438.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01052/0.4499, allocations: 6.205 MB / 444.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004278/0.4542, allocations: 1.109 MB / 445.6 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006778/0.461, allocations: 1.531 MB / 447.1 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004999/0.466, allocations: 2.734 MB / 449.9 MB, free: 232 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01398/0.48, allocations: 5.726 MB / 455.6 MB, free: 10.47 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02296/0.503, allocations: 20.21 MB / 475.8 MB, free: 6.219 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.072e-05/0.5031, allocations: 0 / 475.8 MB, free: 6.219 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5031, allocations: 0 / 475.8 MB, free: 6.219 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008349/0.504, allocations: 4 kB / 475.8 MB, free: 6.215 MB / 382.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.04145/0.5454, allocations: 13.49 MB / 489.3 MB, free: 8.629 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.5455, allocations: 8.031 kB / 489.3 MB, free: 8.621 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03485/0.5804, allocations: 6.223 MB / 495.5 MB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01459/0.595, allocations: 7.073 MB / 0.4908 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008064/0.5958, allocations: 0.7264 MB / 0.4915 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004091/0.5999, allocations: 0.949 MB / 0.4925 GB, free: 9.551 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03745/0.6374, allocations: 16.15 MB / 0.5082 GB, free: 9.344 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002775/0.6377, allocations: 15.89 kB / 0.5082 GB, free: 9.328 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002248/0.64, allocations: 400 kB / 0.5086 GB, free: 8.938 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000532/0.6405, allocations: 0.563 MB / 0.5092 GB, free: 8.371 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03067/0.6712, allocations: 15.1 MB / 0.5239 GB, free: 9.246 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4323/1.104, allocations: 53.1 MB / 0.5758 GB, free: 99.44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0152/1.119, allocations: 20.12 MB / 0.5954 GB, free: 81.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005188/1.124, allocations: 3.678 MB / 0.599 GB, free: 79.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004258/1.124, allocations: 263.2 kB / 0.5993 GB, free: 79.22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.859e-05/1.125, allocations: 76.94 kB / 0.5993 GB, free: 79.15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=453): time 5.881e-06/1.125, allocations: 0 / 0.5993 GB, free: 79.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=458): time 0.04468/1.169, allocations: 20.65 MB / 0.6195 GB, free: 60.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/1.169, allocations: 102.9 kB / 0.6196 GB, free: 60.44 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005452/1.175, allocations: 4.502 MB / 0.624 GB, free: 55.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007886/1.176, allocations: 93.7 kB / 0.6241 GB, free: 55.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00191/1.177, allocations: 4.192 MB / 0.6282 GB, free: 51.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001344/1.179, allocations: 1.554 MB / 0.6297 GB, free: 50.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001532/1.18, allocations: 1.196 MB / 0.6309 GB, free: 48.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.928e-05/1.18, allocations: 309.1 kB / 0.6312 GB, free: 48.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003818/1.184, allocations: 3.096 MB / 0.6342 GB, free: 45.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004704/1.189, allocations: 5.247 MB / 0.6393 GB, free: 39.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009333/1.198, allocations: 8.931 MB / 0.648 GB, free: 29.33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.982e-05/1.198, allocations: 20 kB / 0.6481 GB, free: 29.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.01506/1.213, allocations: 9.913 MB / 0.6577 GB, free: 19.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.574e-05/1.214, allocations: 36 kB / 0.6578 GB, free: 19.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.31e-05/1.214, allocations: 68.34 kB / 0.6578 GB, free: 19.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003342/1.217, allocations: 1.375 MB / 0.6592 GB, free: 17.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00494/1.222, allocations: 1.384 MB / 0.6605 GB, free: 16.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01363/1.236, allocations: 11.66 MB / 0.6719 GB, free: 4.605 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004519/1.24, allocations: 359.4 kB / 0.6723 GB, free: 4.254 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001008/1.241, allocations: 292 kB / 0.6725 GB, free: 3.969 MB / 446.1 MB 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 (723): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005759/1.247, allocations: 3.892 MB / 0.6763 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001153/1.248, allocations: 462.1 kB / 0.6768 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01449/1.263, allocations: 8.571 MB / 0.6852 GB, free: 6.973 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01089/1.274, allocations: 6.296 MB / 0.6913 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.301e-05/1.274, allocations: 12 kB / 0.6913 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.585e-05/1.274, allocations: 23.91 kB / 0.6913 GB, free: 0.625 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2427/1.516, allocations: 17.73 MB / 0.7087 GB, free: 145.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.648e-05/1.516, allocations: 10.97 kB / 0.7087 GB, free: 145.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004016/1.52, allocations: 0.8051 MB / 0.7094 GB, free: 145.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003884/1.524, allocations: 1.276 MB / 0.7107 GB, free: 145.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009308/1.525, allocations: 106.2 kB / 0.7108 GB, free: 145.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01474/1.54, allocations: 10.57 MB / 0.7211 GB, free: 141.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.016e-05/1.54, allocations: 12.47 kB / 0.7211 GB, free: 141.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01884/1.559, allocations: 11.29 MB / 0.7322 GB, free: 137 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002812/1.562, allocations: 1.091 MB / 0.7332 GB, free: 136.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001044/1.563, allocations: 91.62 kB / 0.7333 GB, free: 136.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002517/1.565, allocations: 236.5 kB / 0.7335 GB, free: 136.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007741/1.566, allocations: 328.9 kB / 0.7338 GB, free: 136.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002956/1.567, allocations: 137.2 kB / 0.734 GB, free: 136.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005058/1.572, allocations: 3.114 MB / 0.737 GB, free: 135.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.3e-07/1.572, allocations: 0 / 0.737 GB, free: 135.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007996/1.58, allocations: 1.729 MB / 0.7387 GB, free: 135 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (420): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001805/1.581, allocations: 0.5469 MB / 0.7392 GB, free: 134.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01227/1.594, allocations: 8.021 MB / 0.7471 GB, free: 131.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.457e-06/1.594, allocations: 0 / 0.7471 GB, free: 131.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006895/1.601, allocations: 3.982 MB / 0.751 GB, free: 130 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006023/1.607, allocations: 0.9965 MB / 0.7519 GB, free: 129.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03195/1.639, allocations: 22.15 MB / 0.7736 GB, free: 109.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008107/1.647, allocations: 6.326 MB / 0.7797 GB, free: 103.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00211/1.649, allocations: 423.3 kB / 0.7801 GB, free: 102.6 MB / 478.1 MB Notification: Performance of SimCode: time 1.533e-06/1.649, allocations: 0 / 0.7801 GB, free: 102.6 MB / 478.1 MB Notification: Performance of Templates: time 0.4305/2.08, allocations: 227.6 MB / 1.002 GB, free: 63 MB / 494.1 MB 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