Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009063/0.0009063, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009452/0.0009452, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9269/0.9269, allocations: 177 MB / 205.2 MB, free: 5.039 MB / 186.7 MB " [Timeout remaining time 179] 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.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.[0-9,]+.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.[0-9,]+.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.427e-06/3.427e-06, allocations: 4 kB / 273.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.82e-05/3.163e-05, allocations: 5.125 kB / 273.5 MB, free: 1 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01369/0.01372, allocations: 16.52 MB / 290 MB, free: 408 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1174/0.1312, allocations: 5.809 MB / 295.8 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001802/0.133, allocations: 129.1 kB / 295.9 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002502/0.1355, allocations: 1.309 MB / 297.2 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003174/0.1386, allocations: 1.689 MB / 298.9 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.1404, allocations: 1.08 MB / 300 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004704/0.1451, allocations: 5.439 MB / 305.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002089/0.1472, allocations: 2.299 MB / 307.7 MB, free: 9.754 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003204/0.1504, allocations: 3.732 MB / 311.5 MB, free: 7.812 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002164/0.1526, allocations: 2.514 MB / 314 MB, free: 6.574 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005033/0.1531, allocations: 0.606 MB / 314.6 MB, free: 6.574 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.1542, allocations: 0.8463 MB / 315.4 MB, free: 5.973 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006535/0.1548, allocations: 1.461 MB / 316.9 MB, free: 4.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00112/0.156, allocations: 1.808 MB / 318.7 MB, free: 2.859 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003315/0.1593, allocations: 4.252 MB / 322.9 MB, free: 14.82 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1593, allocations: 4 kB / 322.9 MB, free: 14.82 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1593, allocations: 0 / 322.9 MB, free: 14.82 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.654e-05/0.1593, allocations: 0 / 322.9 MB, free: 14.82 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.006426/0.1657, allocations: 5.216 MB / 328.2 MB, free: 9.82 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.1658, allocations: 15.98 kB / 328.2 MB, free: 9.805 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003085/0.1689, allocations: 1.318 MB / 329.5 MB, free: 8.508 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002363/0.1712, allocations: 1.879 MB / 331.4 MB, free: 6.613 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001471/0.1714, allocations: 297.5 kB / 331.7 MB, free: 6.32 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003595/0.1717, allocations: 409.4 kB / 332.1 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002989/0.1747, allocations: 2.995 MB / 335.1 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.037e-05/0.1748, allocations: 11.92 kB / 335.1 MB, free: 2.961 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002273/0.175, allocations: 162.6 kB / 335.2 MB, free: 2.805 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000114/0.1751, allocations: 172 kB / 335.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001676/0.1768, allocations: 1.202 MB / 336.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009985/0.1868, allocations: 10.61 MB / 347.2 MB, free: 6.926 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002108/0.1889, allocations: 2 MB / 349.2 MB, free: 4.973 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/0.1902, allocations: 1.14 MB / 350.4 MB, free: 3.867 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003208/0.1935, allocations: 2.513 MB / 352.9 MB, free: 1.406 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.1935, allocations: 55.86 kB / 352.9 MB, free: 1.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=157): time 2.375e-06/0.1935, allocations: 4 kB / 352.9 MB, free: 1.336 MB / 298.7 MB Notification: Performance of matching and sorting (n=160): time 0.003913/0.1974, allocations: 2.725 MB / 355.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.1974, allocations: 68.72 kB / 355.7 MB, free: 14.51 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.1985, allocations: 1.549 MB / 357.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.482e-05/0.1986, allocations: 57.7 kB / 357.3 MB, free: 13.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006236/0.1992, allocations: 1.621 MB / 358.9 MB, free: 11.54 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002628/0.1994, allocations: 0.577 MB / 359.5 MB, free: 10.95 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003316/0.1998, allocations: 379.7 kB / 359.9 MB, free: 10.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.824e-05/0.1998, allocations: 301.1 kB / 360.2 MB, free: 10.28 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000309/0.2001, allocations: 247.2 kB / 360.4 MB, free: 10.03 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005804/0.2007, allocations: 0.9514 MB / 361.4 MB, free: 8.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.2018, allocations: 1.411 MB / 362.8 MB, free: 7.02 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-06/0.2018, allocations: 11.94 kB / 362.8 MB, free: 7.008 MB / 314.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.001395/0.2032, allocations: 1.357 MB / 364.2 MB, free: 5.637 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.2032, allocations: 16 kB / 364.2 MB, free: 5.621 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.2032, allocations: 20 kB / 364.2 MB, free: 5.602 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002089/0.2034, allocations: 125 kB / 364.3 MB, free: 5.473 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.2045, allocations: 0.5623 MB / 364.9 MB, free: 4.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/0.2056, allocations: 1.709 MB / 366.6 MB, free: 3.094 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005698/0.2061, allocations: 91.98 kB / 366.7 MB, free: 3.004 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-05/0.2062, allocations: 79.98 kB / 366.8 MB, free: 2.926 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (266): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004392/0.2067, allocations: 251.9 kB / 367 MB, free: 2.668 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.2069, allocations: 187.8 kB / 367.2 MB, free: 2.484 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/0.2081, allocations: 1.097 MB / 368.3 MB, free: 1.363 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/0.2081, allocations: 19.94 kB / 368.3 MB, free: 1.344 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2081, allocations: 4 kB / 368.3 MB, free: 1.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.2082, allocations: 7.969 kB / 368.3 MB, free: 1.332 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002894/0.211, allocations: 2.615 MB / 370.9 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.211, allocations: 4 kB / 370.9 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007585/0.2118, allocations: 358.9 kB / 371.3 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004553/0.2123, allocations: 267.5 kB / 371.5 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-05/0.2123, allocations: 35.98 kB / 371.6 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002945/0.2153, allocations: 5.261 MB / 376.8 MB, free: 8.473 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.2153, allocations: 15.95 kB / 376.9 MB, free: 8.457 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.2168, allocations: 1.441 MB / 378.3 MB, free: 6.965 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003577/0.2172, allocations: 254.4 kB / 378.5 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/0.2173, allocations: 32 kB / 378.6 MB, free: 6.684 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004331/0.2177, allocations: 75.78 kB / 378.7 MB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.2179, allocations: 113.1 kB / 378.8 MB, free: 6.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-05/0.2179, allocations: 35.98 kB / 378.8 MB, free: 6.461 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005635/0.2185, allocations: 0.7553 MB / 379.6 MB, free: 5.684 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2185, allocations: 0 / 379.6 MB, free: 5.684 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00106/0.2196, allocations: 0.668 MB / 380.2 MB, free: 5.016 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,8,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002308/0.2198, allocations: 176.1 kB / 380.4 MB, free: 4.836 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.2209, allocations: 1.067 MB / 381.5 MB, free: 3.758 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.261e-05/0.2209, allocations: 30.75 kB / 381.5 MB, free: 3.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007872/0.2217, allocations: 0.9129 MB / 382.4 MB, free: 2.773 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.2228, allocations: 0.5208 MB / 382.9 MB, free: 2.266 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005893/0.2287, allocations: 5.93 MB / 388.9 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000594/0.2293, allocations: 0.7705 MB / 389.6 MB, free: 11.47 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006613/0.2299, allocations: 331.3 kB / 389.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008417/0.2308, allocations: 0.5264 MB / 390.5 MB, free: 10.61 MB / 346.7 MB Notification: Performance of SimCode: time 9.31e-07/0.2308, allocations: 0 / 390.5 MB, free: 10.61 MB / 346.7 MB Notification: Performance of Templates: time 0.06065/0.2914, allocations: 31.86 MB / 422.3 MB, free: 11.17 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.791622574906796]