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.000968/0.000968, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.0009917/0.0009917, allocations: 166.8 kB / 25.61 MB, free: 8.582 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.9201/0.9201, allocations: 177 MB / 205.9 MB, free: 4.473 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 1.413e-06/1.413e-06, allocations: 3.938 kB / 274.1 MB, free: 4.262 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.108e-05, allocations: 5.188 kB / 274.1 MB, free: 4.258 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01296/0.01298, allocations: 16.47 MB / 290.6 MB, free: 3.715 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00911/0.02209, allocations: 5.574 MB / 296.2 MB, free: 14.13 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002408/0.02449, allocations: 135.2 kB / 296.3 MB, free: 14 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002602/0.0271, allocations: 1.266 MB / 297.6 MB, free: 12.73 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003476/0.03057, allocations: 1.696 MB / 299.3 MB, free: 11.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.03228, allocations: 1.079 MB / 300.4 MB, free: 9.941 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004708/0.03699, allocations: 5.421 MB / 305.8 MB, free: 4.504 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002407/0.0394, allocations: 2.235 MB / 308 MB, free: 2.184 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004077/0.04347, allocations: 3.728 MB / 311.7 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002556/0.04603, allocations: 2.502 MB / 314.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006325/0.04666, allocations: 0.6055 MB / 314.8 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.04775, allocations: 0.8355 MB / 315.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008485/0.0486, allocations: 1.468 MB / 317.2 MB, free: 9.023 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001561/0.05016, allocations: 1.793 MB / 318.9 MB, free: 7.227 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003942/0.0541, allocations: 4.26 MB / 323.2 MB, free: 2.953 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.05411, allocations: 0 / 323.2 MB, free: 2.953 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.05411, allocations: 0 / 323.2 MB, free: 2.953 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.295e-05/0.05418, allocations: 0 / 323.2 MB, free: 2.953 MB / 298.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.006917/0.0611, allocations: 5.516 MB / 328.7 MB, free: 13.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.06113, allocations: 8.031 kB / 328.7 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002969/0.0641, allocations: 1.38 MB / 330.1 MB, free: 11.97 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003038/0.06714, allocations: 2.733 MB / 332.8 MB, free: 9.188 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001791/0.06732, allocations: 300.5 kB / 333.1 MB, free: 8.891 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004699/0.06779, allocations: 408.2 kB / 333.5 MB, free: 8.492 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003335/0.07113, allocations: 2.952 MB / 336.5 MB, free: 5.406 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.308e-05/0.07119, allocations: 4 kB / 336.5 MB, free: 5.402 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002437/0.07143, allocations: 164 kB / 336.7 MB, free: 5.242 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001157/0.07155, allocations: 176 kB / 336.8 MB, free: 5.066 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001826/0.07337, allocations: 1.195 MB / 338 MB, free: 3.828 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01318/0.08655, allocations: 13.4 MB / 351.4 MB, free: 5.969 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002462/0.08902, allocations: 2.263 MB / 353.7 MB, free: 3.93 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001587/0.0906, allocations: 1.224 MB / 354.9 MB, free: 2.703 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1116/0.2022, allocations: 3.117 MB / 358 MB, free: 59.97 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.2023, allocations: 53.23 kB / 358.1 MB, free: 59.92 MB / 330.7 MB Notification: Performance of pre-optimization done (n=157): time 3.757e-06/0.2023, allocations: 0 / 358.1 MB, free: 59.92 MB / 330.7 MB Notification: Performance of matching and sorting (n=160): time 0.00555/0.2078, allocations: 3.009 MB / 361.1 MB, free: 59.64 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.2078, allocations: 68.81 kB / 361.1 MB, free: 59.58 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00189/0.2097, allocations: 1.822 MB / 363 MB, free: 59.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.427e-05/0.2098, allocations: 51.8 kB / 363 MB, free: 59.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008869/0.2107, allocations: 2.039 MB / 365.1 MB, free: 58.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003028/0.211, allocations: 0.5919 MB / 365.7 MB, free: 58.22 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003939/0.2114, allocations: 431.3 kB / 366.1 MB, free: 58.17 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.922e-05/0.2114, allocations: 482.5 kB / 366.5 MB, free: 57.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00031/0.2117, allocations: 230.8 kB / 366.8 MB, free: 57.7 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006091/0.2123, allocations: 1.288 MB / 368.1 MB, free: 56.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.2135, allocations: 1.707 MB / 369.8 MB, free: 55.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/0.2135, allocations: 7.188 kB / 369.8 MB, free: 55.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.001839/0.2154, allocations: 1.709 MB / 371.5 MB, free: 54.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.2154, allocations: 16.53 kB / 371.5 MB, free: 54.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.412e-05/0.2154, allocations: 20.28 kB / 371.5 MB, free: 54.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002325/0.2157, allocations: 137.6 kB / 371.7 MB, free: 54.9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009929/0.2166, allocations: 0.5013 MB / 372.2 MB, free: 54.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.2177, allocations: 2.358 MB / 374.5 MB, free: 52.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008194/0.2185, allocations: 82.88 kB / 374.6 MB, free: 52.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-05/0.2186, allocations: 85.94 kB / 374.7 MB, free: 52.92 MB / 330.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.000647/0.2192, allocations: 302.1 kB / 375 MB, free: 52.76 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002427/0.2195, allocations: 289.9 kB / 375.3 MB, free: 52.63 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001472/0.221, allocations: 1.289 MB / 376.5 MB, free: 52.47 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.221, allocations: 15.19 kB / 376.6 MB, free: 52.47 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.221, allocations: 5.594 kB / 376.6 MB, free: 52.47 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.221, allocations: 7.734 kB / 376.6 MB, free: 52.47 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003665/0.2246, allocations: 3.256 MB / 379.8 MB, free: 52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.2247, allocations: 10.66 kB / 379.8 MB, free: 51.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006331/0.2253, allocations: 261.5 kB / 380.1 MB, free: 51.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005306/0.2258, allocations: 284.4 kB / 380.4 MB, free: 51.94 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.358e-05/0.2259, allocations: 47.2 kB / 380.4 MB, free: 51.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002778/0.2287, allocations: 7.234 MB / 387.7 MB, free: 46.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2287, allocations: 0 / 387.7 MB, free: 46.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.2304, allocations: 1.749 MB / 389.4 MB, free: 45.56 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004376/0.2309, allocations: 374.1 kB / 389.8 MB, free: 45.43 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/0.231, allocations: 37.83 kB / 389.8 MB, free: 45.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005027/0.2315, allocations: 66.75 kB / 389.9 MB, free: 45.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/0.2317, allocations: 127.3 kB / 390 MB, free: 45.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.718e-05/0.2318, allocations: 34.95 kB / 390 MB, free: 45.42 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006548/0.2324, allocations: 0.9422 MB / 391 MB, free: 45.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2324, allocations: 0 / 391 MB, free: 45.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001398/0.2338, allocations: 0.6658 MB / 391.6 MB, free: 45.23 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.0002325/0.234, allocations: 184.6 kB / 391.8 MB, free: 45.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.2352, allocations: 1.214 MB / 393 MB, free: 44.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2352, allocations: 4.062 kB / 393 MB, free: 44.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007761/0.236, allocations: 1.145 MB / 394.2 MB, free: 43.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.2372, allocations: 0.5172 MB / 394.7 MB, free: 43.04 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006113/0.2433, allocations: 6.102 MB / 400.8 MB, free: 37.54 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006241/0.2439, allocations: 0.9449 MB / 401.7 MB, free: 36.86 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007421/0.2446, allocations: 320.9 kB / 402.1 MB, free: 36.61 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008454/0.2455, allocations: 0.5939 MB / 402.6 MB, free: 36.11 MB / 330.7 MB Notification: Performance of SimCode: time 1.302e-06/0.2455, allocations: 0 / 402.6 MB, free: 36.11 MB / 330.7 MB Notification: Performance of Templates: time 0.03883/0.2843, allocations: 32.37 MB / 435 MB, free: 4.449 MB / 330.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 -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.9340801159851253]