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.001323/0.001323, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001464/0.001464, allocations: 214.9 kB / 23.74 MB, free: 4.656 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.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 7.988 MB / 206.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 0.00156/0.00156, allocations: 55.92 kB / 378.3 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2103, allocations: 53.37 MB / 431.7 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.02033/0.2306, allocations: 17.42 MB / 449.1 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01064/0.2413, allocations: 5.719 MB / 454.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002562/0.2438, allocations: 131.2 kB / 454.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00327/0.2471, allocations: 1.317 MB / 456.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004954/0.2521, allocations: 1.643 MB / 457.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002649/0.2547, allocations: 1.117 MB / 459 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006787/0.2615, allocations: 5.235 MB / 464.2 MB, free: 6.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003343/0.2648, allocations: 2.313 MB / 466.5 MB, free: 3.855 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002913/0.2677, allocations: 2.255 MB / 468.8 MB, free: 1.594 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003631/0.2714, allocations: 2.666 MB / 471.5 MB, free: 14.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008118/0.2722, allocations: 0.6172 MB / 472.1 MB, free: 14.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001538/0.2737, allocations: 0.863 MB / 472.9 MB, free: 13.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001389/0.2751, allocations: 1.43 MB / 474.4 MB, free: 12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002768/0.2779, allocations: 2.649 MB / 477 MB, free: 9.344 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008656/0.2865, allocations: 8.156 MB / 485.2 MB, free: 1.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2865, allocations: 3.938 kB / 485.2 MB, free: 1.156 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2865, allocations: 0 / 485.2 MB, free: 1.156 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001088/0.2867, allocations: 4 kB / 485.2 MB, free: 1.152 MB / 382.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.01268/0.2993, allocations: 5.457 MB / 490.6 MB, free: 11.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.2994, allocations: 8.031 kB / 490.7 MB, free: 11.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005143/0.3045, allocations: 1.025 MB / 491.7 MB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006089/0.3106, allocations: 2.941 MB / 494.6 MB, free: 7.602 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002485/0.3109, allocations: 300.2 kB / 494.9 MB, free: 7.305 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00059/0.3114, allocations: 403.9 kB / 495.3 MB, free: 6.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008916/0.3204, allocations: 5.217 MB / 0.4888 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.883e-05/0.3204, allocations: 7.938 kB / 0.4888 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003665/0.3208, allocations: 171.9 kB / 0.489 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000171/0.321, allocations: 172 kB / 0.4891 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008254/0.3292, allocations: 4.474 MB / 0.4935 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02629/0.3555, allocations: 16.35 MB / 0.5095 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005765/0.3613, allocations: 3.244 MB / 0.5126 GB, free: 8.918 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004066/0.3653, allocations: 1.983 MB / 0.5146 GB, free: 6.945 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008904/0.3743, allocations: 4.607 MB / 0.5191 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.749e-05/0.3743, allocations: 47.88 kB / 0.5191 GB, free: 2.234 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 3.356e-06/0.3743, allocations: 0 / 0.5191 GB, free: 2.234 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.01244/0.3867, allocations: 5.908 MB / 0.5249 GB, free: 12.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.3868, allocations: 68.66 kB / 0.5249 GB, free: 12.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00336/0.3902, allocations: 2.319 MB / 0.5272 GB, free: 9.863 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.3903, allocations: 53.7 kB / 0.5273 GB, free: 9.805 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001509/0.3918, allocations: 1.909 MB / 0.5291 GB, free: 7.875 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004931/0.3923, allocations: 0.5771 MB / 0.5297 GB, free: 7.293 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000606/0.3929, allocations: 403.9 kB / 0.5301 GB, free: 6.891 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.393, allocations: 301.1 kB / 0.5304 GB, free: 6.594 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001532/0.3945, allocations: 0.8553 MB / 0.5312 GB, free: 5.734 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002144/0.3967, allocations: 1.574 MB / 0.5327 GB, free: 3.828 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003859/0.4005, allocations: 2.586 MB / 0.5353 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.4005, allocations: 4 kB / 0.5353 GB, free: 0.918 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.1991/0.5997, allocations: 2.904 MB / 0.5381 GB, free: 96.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.5997, allocations: 15.44 kB / 0.5381 GB, free: 96.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.934e-05/0.5997, allocations: 23.47 kB / 0.5381 GB, free: 96.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004271/0.6002, allocations: 177 kB / 0.5383 GB, free: 96.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001944/0.6021, allocations: 0.5313 MB / 0.5388 GB, free: 96.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00187/0.604, allocations: 2.331 MB / 0.5411 GB, free: 94.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/0.6056, allocations: 112 kB / 0.5412 GB, free: 94.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/0.6058, allocations: 98.47 kB / 0.5413 GB, free: 94.71 MB / 446.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.001868/0.6076, allocations: 1.194 MB / 0.5425 GB, free: 94.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003349/0.608, allocations: 267.1 kB / 0.5427 GB, free: 94.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003932/0.6119, allocations: 2.366 MB / 0.545 GB, free: 93.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/0.6119, allocations: 15.62 kB / 0.545 GB, free: 93.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/0.6119, allocations: 7.719 kB / 0.5451 GB, free: 93.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.6119, allocations: 11.66 kB / 0.5451 GB, free: 93.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007667/0.6196, allocations: 5.722 MB / 0.5507 GB, free: 90.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.6196, allocations: 0 / 0.5507 GB, free: 90.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/0.6208, allocations: 281.5 kB / 0.5509 GB, free: 90.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008019/0.6216, allocations: 367.9 kB / 0.5513 GB, free: 90.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-05/0.6217, allocations: 43.23 kB / 0.5513 GB, free: 90.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005445/0.6271, allocations: 7.085 MB / 0.5582 GB, free: 84.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.6271, allocations: 3.812 kB / 0.5582 GB, free: 84.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004559/0.6317, allocations: 3.496 MB / 0.5617 GB, free: 83.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009701/0.6326, allocations: 455.9 kB / 0.5621 GB, free: 83.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002858/0.6329, allocations: 46.47 kB / 0.5621 GB, free: 83.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.634, allocations: 78.78 kB / 0.5622 GB, free: 83.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002091/0.6342, allocations: 125.2 kB / 0.5623 GB, free: 83.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.18e-05/0.6343, allocations: 43.98 kB / 0.5624 GB, free: 83.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001831/0.6361, allocations: 1.569 MB / 0.5639 GB, free: 81.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6361, allocations: 0 / 0.5639 GB, free: 81.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001909/0.638, allocations: 0.6835 MB / 0.5646 GB, free: 80.79 MB / 446.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.0002861/0.6383, allocations: 183.1 kB / 0.5647 GB, free: 80.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003067/0.6414, allocations: 2.157 MB / 0.5668 GB, free: 78.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.6414, allocations: 0 / 0.5668 GB, free: 78.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001822/0.6432, allocations: 1.409 MB / 0.5682 GB, free: 77.01 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002099/0.6453, allocations: 0.6105 MB / 0.5688 GB, free: 76.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00925/0.6546, allocations: 7.058 MB / 0.5757 GB, free: 69.33 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001726/0.6563, allocations: 2.67 MB / 0.5783 GB, free: 66.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001545/0.6578, allocations: 0.5493 MB / 0.5789 GB, free: 66.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004029/0.6582, allocations: 175.4 kB / 0.579 GB, free: 65.92 MB / 446.1 MB Notification: Performance of SimCode: time 8.81e-07/0.6582, allocations: 0 / 0.579 GB, free: 65.92 MB / 446.1 MB Notification: Performance of Templates: time 0.04872/0.707, allocations: 33.2 MB / 0.6114 GB, free: 33.19 MB / 446.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: 6.627335740020499]