Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 173.4 MB / 200.8 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.307e-05/3.515e-05, allocations: 2.312 kB / 267.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01989/0.01993, allocations: 14.54 MB / 281.9 MB, free: 8.094 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01171/0.03164, allocations: 5.156 MB / 287 MB, free: 2.922 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0037/0.03533, allocations: 127.2 kB / 287.2 MB, free: 2.797 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004064/0.0394, allocations: 1.243 MB / 288.4 MB, free: 1.547 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1795/0.2189, allocations: 1.691 MB / 290.1 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00349/0.2224, allocations: 1.032 MB / 291.1 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007016/0.2294, allocations: 5.289 MB / 296.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003526/0.233, allocations: 2.222 MB / 298.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006611/0.2396, allocations: 3.312 MB / 302 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004432/0.244, allocations: 2.195 MB / 304.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001849/0.2459, allocations: 0.6115 MB / 304.8 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003227/0.2491, allocations: 0.825 MB / 305.6 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001793/0.2509, allocations: 1.459 MB / 307 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003439/0.2543, allocations: 1.791 MB / 308.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007243/0.2616, allocations: 8.187 MB / 317 MB, free: 4.465 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.904e-06/0.2616, allocations: 4 kB / 317 MB, free: 4.461 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.2616, allocations: 0 / 317 MB, free: 4.461 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002532/0.2618, allocations: 0 / 317 MB, free: 4.461 MB / 266.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.0144/0.2762, allocations: 5.371 MB / 322.4 MB, free: 15.05 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.2763, allocations: 12.92 kB / 322.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006697/0.283, allocations: 1.507 MB / 323.9 MB, free: 13.54 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007882/0.2909, allocations: 3.029 MB / 326.9 MB, free: 10.6 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003792/0.2912, allocations: 307.6 kB / 327.2 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001264/0.2925, allocations: 403.5 kB / 327.6 MB, free: 9.906 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01301/0.3055, allocations: 5.374 MB / 333 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.4e-05/0.3056, allocations: 8 kB / 333 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004608/0.3061, allocations: 163.9 kB / 333.2 MB, free: 4.254 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002159/0.3063, allocations: 172 kB / 333.3 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01016/0.3164, allocations: 4.457 MB / 337.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03109/0.3475, allocations: 14.61 MB / 352.4 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00657/0.3541, allocations: 3.189 MB / 355.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003258/0.3574, allocations: 1.565 MB / 357.2 MB, free: 12.4 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009596/0.367, allocations: 3.913 MB / 361.1 MB, free: 8.512 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.745e-05/0.367, allocations: 51.88 kB / 361.1 MB, free: 8.453 MB / 314.7 MB Notification: Performance of pre-optimization done (n=157): time 3.397e-06/0.367, allocations: 3.938 kB / 361.1 MB, free: 8.449 MB / 314.7 MB Notification: Performance of matching and sorting (n=160): time 0.01501/0.382, allocations: 5.757 MB / 366.9 MB, free: 2.676 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.604e-05/0.3821, allocations: 68.72 kB / 367 MB, free: 2.598 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004054/0.3861, allocations: 2.092 MB / 369.1 MB, free: 484 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002089/0.3864, allocations: 53.7 kB / 369.1 MB, free: 424 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001807/0.3882, allocations: 1.915 MB / 371 MB, free: 14.53 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000636/0.3888, allocations: 0.5669 MB / 371.6 MB, free: 13.97 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006772/0.3895, allocations: 395.9 kB / 372 MB, free: 13.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3896, allocations: 301.1 kB / 372.3 MB, free: 13.28 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001693/0.3913, allocations: 0.8436 MB / 373.1 MB, free: 12.43 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002585/0.3939, allocations: 1.586 MB / 374.7 MB, free: 10.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004298/0.3982, allocations: 2.556 MB / 377.3 MB, free: 7.742 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.43e-05/0.3982, allocations: 8 kB / 377.3 MB, free: 7.734 MB / 330.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.00618/0.4044, allocations: 2.902 MB / 380.2 MB, free: 4.965 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.636e-05/0.4045, allocations: 16.06 kB / 380.2 MB, free: 4.949 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.973e-05/0.4045, allocations: 24 kB / 380.2 MB, free: 4.926 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004144/0.4049, allocations: 121.7 kB / 380.3 MB, free: 4.801 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002319/0.4073, allocations: 0.5389 MB / 380.9 MB, free: 4.297 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/0.4094, allocations: 1.861 MB / 382.7 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/0.4113, allocations: 111.8 kB / 382.8 MB, free: 2.242 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/0.4114, allocations: 104 kB / 382.9 MB, free: 2.141 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 (269): * Single equations (assignments): 267 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002277/0.4137, allocations: 1.188 MB / 384.1 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005669/0.4143, allocations: 286.6 kB / 384.4 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004866/0.4192, allocations: 2.27 MB / 386.7 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/0.4192, allocations: 20 kB / 386.7 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/0.4192, allocations: 4 kB / 386.7 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.837e-05/0.4192, allocations: 7.969 kB / 386.7 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01026/0.4295, allocations: 4.761 MB / 391.5 MB, free: 9.621 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.4295, allocations: 3.938 kB / 391.5 MB, free: 9.617 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001405/0.4309, allocations: 287.3 kB / 391.7 MB, free: 9.348 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001111/0.432, allocations: 347 kB / 392.1 MB, free: 9.004 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001161/0.4321, allocations: 35.98 kB / 392.1 MB, free: 8.969 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008077/0.4402, allocations: 6.549 MB / 398.7 MB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4402, allocations: 0 / 398.7 MB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007014/0.4472, allocations: 3.428 MB / 402.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002137/0.4493, allocations: 420.6 kB / 402.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006417/0.45, allocations: 39.38 kB / 402.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/0.4514, allocations: 83.92 kB / 402.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003955/0.4518, allocations: 121.1 kB / 402.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/0.4519, allocations: 43.98 kB / 402.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002639/0.4545, allocations: 1.379 MB / 404.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4545, allocations: 0 / 404.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0035/0.458, allocations: 0.664 MB / 404.8 MB, free: 11.95 MB / 362.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 (132): * Single equations (assignments): 129 * 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,5,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.0005976/0.4586, allocations: 184.1 kB / 405 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00461/0.4633, allocations: 2.103 MB / 407.1 MB, free: 9.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.4633, allocations: 0.9375 kB / 407.1 MB, free: 9.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002525/0.4658, allocations: 1.379 MB / 408.5 MB, free: 8.359 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002903/0.4687, allocations: 0.5165 MB / 409 MB, free: 7.852 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01543/0.4841, allocations: 6.916 MB / 415.9 MB, free: 0.875 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002989/0.4871, allocations: 2.129 MB / 418.1 MB, free: 14.71 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002118/0.4892, allocations: 0.53 MB / 418.6 MB, free: 14.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005394/0.4898, allocations: 148.5 kB / 418.7 MB, free: 14.04 MB / 378.7 MB Notification: Performance of SimCode: time 1.964e-06/0.4898, allocations: 0 / 418.7 MB, free: 14.04 MB / 378.7 MB Notification: Performance of Templates: time 0.2018/0.6916, allocations: 29.18 MB / 447.9 MB, free: 116.5 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 6.3867625769926235]