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.002034/0.002034, allocations: 84.7 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001852/0.001852, allocations: 167.8 kB / 23.95 MB, free: 4.16 MB / 14.72 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 1.409/1.409, allocations: 177.1 MB / 204.3 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..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.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 325.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.638e-05, allocations: 7.047 kB / 325.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01881/0.01883, allocations: 15.07 MB / 340.2 MB, free: 5.883 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01198/0.03081, allocations: 5.418 MB / 345.6 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003425/0.03424, allocations: 131.2 kB / 345.7 MB, free: 468 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004017/0.03825, allocations: 1.262 MB / 347 MB, free: 15.19 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006075/0.04433, allocations: 1.669 MB / 348.6 MB, free: 13.51 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0031/0.04743, allocations: 1.085 MB / 349.7 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008282/0.05571, allocations: 5.407 MB / 355.1 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004382/0.06009, allocations: 2.227 MB / 357.4 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005977/0.06607, allocations: 3.329 MB / 360.7 MB, free: 1.355 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004096/0.07016, allocations: 2.198 MB / 362.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001064/0.07123, allocations: 0.6133 MB / 363.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001919/0.07315, allocations: 0.8472 MB / 364.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001404/0.07455, allocations: 1.46 MB / 365.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002854/0.07741, allocations: 1.805 MB / 367.6 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01022/0.08763, allocations: 8.219 MB / 375.8 MB, free: 2.176 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.08763, allocations: 0 / 375.8 MB, free: 2.176 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.592e-06/0.08763, allocations: 0 / 375.8 MB, free: 2.176 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001861/0.08782, allocations: 0 / 375.8 MB, free: 2.176 MB / 334.1 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.01513/0.103, allocations: 5.414 MB / 381.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.103, allocations: 8.031 kB / 381.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00583/0.1088, allocations: 1.021 MB / 382.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006628/0.1154, allocations: 2.944 MB / 385.2 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003165/0.1158, allocations: 300.5 kB / 385.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008238/0.1166, allocations: 400.3 kB / 385.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01032/0.1269, allocations: 5.379 MB / 391.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001078/0.127, allocations: 7.953 kB / 391.3 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005012/0.1275, allocations: 160 kB / 391.4 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001904/0.1277, allocations: 180 kB / 391.6 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009454/0.1372, allocations: 4.451 MB / 396.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02956/0.1667, allocations: 14.35 MB / 410.4 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006366/0.1731, allocations: 3.227 MB / 413.6 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004416/0.1775, allocations: 1.99 MB / 415.6 MB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009066/0.1866, allocations: 4.166 MB / 419.8 MB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.109e-05/0.1866, allocations: 55.88 kB / 419.9 MB, free: 5.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=157): time 3.747e-06/0.1866, allocations: 0 / 419.9 MB, free: 5.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=160): time 0.01427/0.2009, allocations: 5.878 MB / 425.7 MB, free: 15.67 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.201, allocations: 68.72 kB / 425.8 MB, free: 15.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004227/0.2052, allocations: 2.106 MB / 427.9 MB, free: 13.45 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001687/0.2054, allocations: 65.64 kB / 428 MB, free: 13.38 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00158/0.2069, allocations: 1.912 MB / 429.9 MB, free: 11.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005744/0.2075, allocations: 0.5771 MB / 430.5 MB, free: 10.86 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000694/0.2082, allocations: 391.9 kB / 430.8 MB, free: 10.47 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.2083, allocations: 305.1 kB / 431.1 MB, free: 10.17 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001607/0.2099, allocations: 0.8592 MB / 432 MB, free: 9.309 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00224/0.2122, allocations: 1.6 MB / 433.6 MB, free: 7.379 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004064/0.2162, allocations: 2.582 MB / 436.2 MB, free: 4.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.768e-05/0.2163, allocations: 4 kB / 436.2 MB, free: 4.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005538/0.2218, allocations: 2.884 MB / 439.1 MB, free: 1.578 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/0.2218, allocations: 16 kB / 439.1 MB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.894e-05/0.2219, allocations: 24 kB / 439.1 MB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000485/0.2224, allocations: 181.9 kB / 439.3 MB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002117/0.2245, allocations: 0.5382 MB / 439.8 MB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002678/0.2271, allocations: 2.272 MB / 442.1 MB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/0.229, allocations: 111.9 kB / 442.2 MB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002124/0.2292, allocations: 104 kB / 442.3 MB, free: 14.23 MB / 414.1 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.002268/0.2315, allocations: 1.196 MB / 443.5 MB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005885/0.232, allocations: 242.5 kB / 443.7 MB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005097/0.2371, allocations: 2.348 MB / 446.1 MB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/0.2372, allocations: 16 kB / 446.1 MB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.812e-05/0.2372, allocations: 4 kB / 446.1 MB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-05/0.2372, allocations: 7.969 kB / 446.1 MB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/0.2477, allocations: 4.888 MB / 451 MB, free: 5.422 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/0.2478, allocations: 4 kB / 451 MB, free: 5.418 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/0.2491, allocations: 283.6 kB / 451.3 MB, free: 5.141 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001044/0.2502, allocations: 373 kB / 451.6 MB, free: 4.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001336/0.2503, allocations: 35.98 kB / 451.7 MB, free: 4.734 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008163/0.2585, allocations: 6.913 MB / 458.6 MB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.48e-05/0.2585, allocations: 12.02 kB / 458.6 MB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006772/0.2652, allocations: 3.482 MB / 462.1 MB, free: 9.969 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001333/0.2666, allocations: 418.2 kB / 462.5 MB, free: 9.559 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006685/0.2672, allocations: 36 kB / 462.5 MB, free: 9.523 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00154/0.2688, allocations: 83.92 kB / 462.6 MB, free: 9.441 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004051/0.2692, allocations: 133 kB / 462.7 MB, free: 9.312 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/0.2693, allocations: 43.98 kB / 462.8 MB, free: 9.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003458/0.2728, allocations: 1.396 MB / 464.2 MB, free: 7.855 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2728, allocations: 0 / 464.2 MB, free: 7.855 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00331/0.2761, allocations: 0.6718 MB / 464.8 MB, free: 7.184 MB / 430.1 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.0005816/0.2767, allocations: 187.2 kB / 465 MB, free: 6.988 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005041/0.2817, allocations: 2.166 MB / 467.2 MB, free: 4.809 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.2817, allocations: 0 / 467.2 MB, free: 4.809 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00289/0.2846, allocations: 1.41 MB / 468.6 MB, free: 3.359 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003451/0.2881, allocations: 0.5081 MB / 469.1 MB, free: 2.855 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1568/0.4449, allocations: 6.821 MB / 475.9 MB, free: 123.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00301/0.4479, allocations: 2.135 MB / 478.1 MB, free: 123.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001819/0.4497, allocations: 0.5249 MB / 478.6 MB, free: 123.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005955/0.4503, allocations: 159.5 kB / 478.8 MB, free: 123.4 MB / 430.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4503, allocations: 0 / 478.8 MB, free: 123.4 MB / 430.1 MB Notification: Performance of Templates: time 0.04421/0.4945, allocations: 29.82 MB / 0.4967 GB, free: 103.9 MB / 430.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.96309544891119]