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.0007647/0.0007647, allocations: 95 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008414/0.0008414, allocations: 206.1 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 227.7 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002256/0.0002258, allocations: 4 kB / 307.8 MB, free: 0.7617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0909/0.09114, allocations: 51.53 MB / 359.3 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.2347/0.3259, allocations: 23.36 MB / 382.7 MB, free: 8.375 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01591/0.3419, allocations: 7.912 MB / 390.6 MB, free: 3.934 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005125/0.347, allocations: 169.9 kB / 390.7 MB, free: 3.898 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005788/0.3528, allocations: 1.767 MB / 392.5 MB, free: 3.102 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009664/0.3625, allocations: 2.74 MB / 395.3 MB, free: 1.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004715/0.3673, allocations: 1.614 MB / 396.9 MB, free: 380 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01615/0.3834, allocations: 11.09 MB / 408 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04487/0.4283, allocations: 23.54 MB / 431.5 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008206/0.4366, allocations: 4.169 MB / 435.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009178/0.4458, allocations: 4.999 MB / 440.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002637/0.4485, allocations: 0.6641 MB / 441.3 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005616/0.4541, allocations: 1.093 MB / 442.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004519/0.4587, allocations: 2.102 MB / 444.5 MB, free: 6.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009505/0.4682, allocations: 5.005 MB / 449.5 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02592/0.4941, allocations: 21.75 MB / 471.3 MB, free: 11.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.4942, allocations: 0 / 471.3 MB, free: 11.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.4942, allocations: 3.938 kB / 471.3 MB, free: 11.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006118/0.4948, allocations: 0 / 471.3 MB, free: 11.43 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.03341/0.5282, allocations: 11.27 MB / 482.5 MB, free: 68 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.5283, allocations: 8.031 kB / 482.6 MB, free: 60 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03583/0.5641, allocations: 6.251 MB / 488.8 MB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01393/0.5781, allocations: 7.108 MB / 495.9 MB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007987/0.579, allocations: 0.7225 MB / 496.6 MB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003795/0.5828, allocations: 0.9529 MB / 497.6 MB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03751/0.6203, allocations: 16.15 MB / 0.5017 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003491/0.6207, allocations: 15.89 kB / 0.5017 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002339/0.623, allocations: 404 kB / 0.5021 GB, free: 308 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005388/0.6236, allocations: 0.5553 MB / 0.5026 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03211/0.6557, allocations: 15.12 MB / 0.5174 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4297/1.085, allocations: 53.26 MB / 0.5694 GB, free: 101.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01556/1.101, allocations: 20.11 MB / 0.5891 GB, free: 83.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005063/1.106, allocations: 3.693 MB / 0.5927 GB, free: 81.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003972/1.107, allocations: 269.7 kB / 0.5929 GB, free: 81.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/1.107, allocations: 77.38 kB / 0.593 GB, free: 81.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=453): time 6.512e-06/1.107, allocations: 0 / 0.593 GB, free: 81.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=458): time 0.04429/1.151, allocations: 20.73 MB / 0.6132 GB, free: 66.35 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/1.151, allocations: 98.97 kB / 0.6133 GB, free: 66.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00497/1.156, allocations: 4.502 MB / 0.6177 GB, free: 61.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006295/1.157, allocations: 97.7 kB / 0.6178 GB, free: 61.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001946/1.159, allocations: 4.192 MB / 0.6219 GB, free: 57.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001547/1.16, allocations: 1.557 MB / 0.6234 GB, free: 55.85 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007691/1.161, allocations: 495.6 kB / 0.6239 GB, free: 55.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.773e-05/1.161, allocations: 301.1 kB / 0.6242 GB, free: 55.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004083/1.165, allocations: 3.104 MB / 0.6272 GB, free: 51.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004986/1.17, allocations: 5.257 MB / 0.6324 GB, free: 45.72 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01021/1.18, allocations: 8.947 MB / 0.6411 GB, free: 35.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.53e-05/1.18, allocations: 24 kB / 0.6411 GB, free: 35.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.01465/1.195, allocations: 9.933 MB / 0.6508 GB, free: 25.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.83e-05/1.195, allocations: 32 kB / 0.6509 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.704e-05/1.195, allocations: 68 kB / 0.6509 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0033/1.199, allocations: 1.38 MB / 0.6523 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004712/1.203, allocations: 1.384 MB / 0.6536 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01343/1.217, allocations: 11.66 MB / 0.665 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004239/1.221, allocations: 363.4 kB / 0.6654 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007481/1.222, allocations: 292 kB / 0.6656 GB, free: 10.41 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.005366/1.227, allocations: 3.892 MB / 0.6694 GB, free: 6.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008729/1.228, allocations: 466.3 kB / 0.6699 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01329/1.241, allocations: 8.59 MB / 0.6783 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01134/1.253, allocations: 6.307 MB / 0.6844 GB, free: 7.066 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.317e-05/1.253, allocations: 12 kB / 0.6844 GB, free: 7.055 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.499e-05/1.253, allocations: 27.91 kB / 0.6845 GB, free: 7.027 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03164/1.284, allocations: 17.74 MB / 0.7018 GB, free: 5.141 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-05/1.284, allocations: 8 kB / 0.7018 GB, free: 5.133 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003369/1.288, allocations: 0.8002 MB / 0.7026 GB, free: 4.332 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003564/1.291, allocations: 1.278 MB / 0.7038 GB, free: 3.051 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005229/1.292, allocations: 108 kB / 0.7039 GB, free: 2.945 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2166/1.509, allocations: 10.59 MB / 0.7143 GB, free: 146 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.398e-06/1.509, allocations: 15.03 kB / 0.7143 GB, free: 146 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01889/1.528, allocations: 11.31 MB / 0.7253 GB, free: 141.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003159/1.531, allocations: 1.117 MB / 0.7264 GB, free: 140.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001101/1.532, allocations: 89.59 kB / 0.7265 GB, free: 140.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002532/1.534, allocations: 240.8 kB / 0.7267 GB, free: 140.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000776/1.535, allocations: 326.6 kB / 0.727 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002796/1.535, allocations: 140.3 kB / 0.7272 GB, free: 140.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004316/1.54, allocations: 3.116 MB / 0.7302 GB, free: 139.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.91e-07/1.54, allocations: 0 / 0.7302 GB, free: 139.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006095/1.546, allocations: 1.732 MB / 0.7319 GB, free: 139.3 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.001521/1.547, allocations: 0.5343 MB / 0.7324 GB, free: 139.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0133/1.561, allocations: 8.041 MB / 0.7403 GB, free: 135.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/1.561, allocations: 3.812 kB / 0.7403 GB, free: 135.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00674/1.568, allocations: 3.99 MB / 0.7442 GB, free: 134.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009712/1.577, allocations: 1.003 MB / 0.7452 GB, free: 133.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0281/1.605, allocations: 22.5 MB / 0.7671 GB, free: 114.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006483/1.612, allocations: 6.514 MB / 0.7735 GB, free: 108.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006079/1.618, allocations: 2.111 MB / 0.7756 GB, free: 106.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/1.619, allocations: 379.4 kB / 0.7759 GB, free: 105.7 MB / 478.1 MB Notification: Performance of SimCode: time 9.62e-07/1.619, allocations: 0 / 0.7759 GB, free: 105.7 MB / 478.1 MB Notification: Performance of Templates: time 0.1051/1.724, allocations: 71.71 MB / 0.846 GB, free: 34.4 MB / 478.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/jenkins/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/jenkins/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