Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009676/0.0009676, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009029/0.0009029, allocations: 161.4 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8969/0.8969, allocations: 177.1 MB / 205 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.042e-05/3.244e-05, allocations: 2.312 kB / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01928/0.01931, allocations: 17.06 MB / 290.1 MB, free: 424 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1133/0.1326, allocations: 5.603 MB / 295.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001849/0.1344, allocations: 128 kB / 295.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002451/0.1369, allocations: 1.266 MB / 297 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003289/0.1402, allocations: 1.687 MB / 298.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.1419, allocations: 1.089 MB / 299.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004483/0.1463, allocations: 5.415 MB / 305.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002506/0.1488, allocations: 2.229 MB / 307.5 MB, free: 9.824 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00366/0.1525, allocations: 3.722 MB / 311.2 MB, free: 7.891 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002364/0.1549, allocations: 2.487 MB / 313.7 MB, free: 6.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006747/0.1555, allocations: 0.6052 MB / 314.3 MB, free: 6.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.1567, allocations: 0.8371 MB / 315.1 MB, free: 6.559 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005953/0.1573, allocations: 1.469 MB / 316.6 MB, free: 5.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001341/0.1586, allocations: 1.798 MB / 318.4 MB, free: 3.508 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003186/0.1618, allocations: 4.253 MB / 322.6 MB, free: 15.47 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1618, allocations: 4 kB / 322.6 MB, free: 15.47 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1618, allocations: 0 / 322.6 MB, free: 15.47 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.84e-05/0.1619, allocations: 3.984 kB / 322.6 MB, free: 15.46 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.006918/0.1688, allocations: 5.581 MB / 328.2 MB, free: 9.836 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.1688, allocations: 8.031 kB / 328.2 MB, free: 9.828 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00302/0.1718, allocations: 1.416 MB / 329.7 MB, free: 8.414 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003444/0.1753, allocations: 2.844 MB / 332.5 MB, free: 5.559 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001603/0.1754, allocations: 300.5 kB / 332.8 MB, free: 5.262 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003909/0.1758, allocations: 402.8 kB / 333.2 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004457/0.1803, allocations: 3.196 MB / 336.4 MB, free: 1.547 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.72e-05/0.1804, allocations: 11.86 kB / 336.4 MB, free: 1.535 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002341/0.1806, allocations: 170.7 kB / 336.6 MB, free: 1.371 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001258/0.1807, allocations: 164 kB / 336.7 MB, free: 1.207 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003193/0.1839, allocations: 1.533 MB / 338.3 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01649/0.2004, allocations: 13.47 MB / 351.7 MB, free: 1.879 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002965/0.2034, allocations: 2.424 MB / 354.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001827/0.2052, allocations: 1.323 MB / 355.5 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004604/0.2098, allocations: 3.212 MB / 358.7 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.2098, allocations: 62.64 kB / 358.7 MB, free: 11.06 MB / 314.7 MB Notification: Performance of pre-optimization done (n=157): time 3.267e-06/0.2098, allocations: 0 / 358.7 MB, free: 11.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=160): time 0.006092/0.2159, allocations: 3.744 MB / 362.5 MB, free: 7.281 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.216, allocations: 68.72 kB / 362.5 MB, free: 7.203 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001851/0.2178, allocations: 1.846 MB / 364.4 MB, free: 5.316 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.034e-05/0.2179, allocations: 61.64 kB / 364.5 MB, free: 5.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009664/0.2189, allocations: 2.02 MB / 366.5 MB, free: 3.219 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003287/0.2192, allocations: 0.5917 MB / 367.1 MB, free: 2.633 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003979/0.2196, allocations: 421.7 kB / 367.5 MB, free: 2.211 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.576e-05/0.2197, allocations: 476.8 kB / 367.9 MB, free: 1.742 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005164/0.2202, allocations: 308.1 kB / 368.2 MB, free: 1.438 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009588/0.2212, allocations: 1.34 MB / 369.6 MB, free: 15.65 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001618/0.2228, allocations: 1.828 MB / 371.4 MB, free: 13.39 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.2228, allocations: 8 kB / 371.4 MB, free: 13.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.002267/0.2251, allocations: 1.87 MB / 373.3 MB, free: 11.49 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.2251, allocations: 12.62 kB / 373.3 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-05/0.2251, allocations: 28.03 kB / 373.3 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002707/0.2254, allocations: 135.2 kB / 373.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.2264, allocations: 0.5148 MB / 374 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.2278, allocations: 2.412 MB / 376.4 MB, free: 8.258 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007706/0.2286, allocations: 103.9 kB / 376.5 MB, free: 8.156 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.2287, allocations: 95.98 kB / 376.6 MB, free: 8.062 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.0006484/0.2293, allocations: 299.9 kB / 376.9 MB, free: 7.758 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002382/0.2295, allocations: 290.5 kB / 377.2 MB, free: 7.473 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001783/0.2313, allocations: 1.407 MB / 378.6 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.2313, allocations: 19.94 kB / 378.6 MB, free: 6.023 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.2313, allocations: 4 kB / 378.6 MB, free: 6.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.2314, allocations: 11.91 kB / 378.6 MB, free: 6.008 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004437/0.2358, allocations: 4.04 MB / 382.6 MB, free: 1.902 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.2358, allocations: 0 / 382.6 MB, free: 1.902 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000622/0.2364, allocations: 275.8 kB / 382.9 MB, free: 1.633 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005578/0.237, allocations: 293.1 kB / 383.2 MB, free: 1.336 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.43e-05/0.237, allocations: 39.98 kB / 383.2 MB, free: 1.297 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003928/0.241, allocations: 7.414 MB / 390.7 MB, free: 9.551 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.241, allocations: 4.031 kB / 390.7 MB, free: 9.547 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00221/0.2432, allocations: 1.926 MB / 392.6 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004506/0.2436, allocations: 398.3 kB / 393 MB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.2438, allocations: 32 kB / 393 MB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004693/0.2443, allocations: 71.95 kB / 393.1 MB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000186/0.2444, allocations: 132.9 kB / 393.2 MB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.979e-05/0.2445, allocations: 47.98 kB / 393.2 MB, free: 6.891 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000985/0.2455, allocations: 1.025 MB / 394.3 MB, free: 5.848 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2455, allocations: 0 / 394.3 MB, free: 5.848 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001436/0.2469, allocations: 0.6718 MB / 394.9 MB, free: 5.176 MB / 346.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.000323/0.2473, allocations: 183 kB / 395.1 MB, free: 4.992 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001646/0.2489, allocations: 1.344 MB / 396.5 MB, free: 3.625 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.2489, allocations: 6 kB / 396.5 MB, free: 3.621 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.25, allocations: 1.198 MB / 397.7 MB, free: 2.371 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/0.2513, allocations: 0.5277 MB / 398.2 MB, free: 1.852 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007296/0.2586, allocations: 6.094 MB / 404.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006915/0.2593, allocations: 0.9381 MB / 405.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008904/0.2602, allocations: 462.9 kB / 405.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003029/0.2605, allocations: 160.5 kB / 405.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of SimCode: time 1.923e-06/0.2605, allocations: 4 kB / 405.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of Templates: time 0.1736/0.4341, allocations: 31.12 MB / 437 MB, free: 106.2 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.82036668388173]