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.001432/0.001432, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001554/0.001554, allocations: 210 kB / 24.48 MB, free: 3.938 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.487/1.487, allocations: 230.6 MB / 258.3 MB, free: 7.738 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.001659/0.001659, allocations: 51.92 kB / 379 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2514, allocations: 53.36 MB / 432.4 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01976/0.2712, allocations: 15.05 MB / 447.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01155/0.2827, allocations: 5.41 MB / 452.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003461/0.2862, allocations: 127.2 kB / 452.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004256/0.2904, allocations: 1.251 MB / 454.2 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00604/0.2965, allocations: 1.627 MB / 455.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003318/0.2998, allocations: 1.074 MB / 456.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0081/0.3079, allocations: 5.225 MB / 462.1 MB, free: 8.836 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00394/0.3118, allocations: 2.219 MB / 464.3 MB, free: 6.535 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003415/0.3152, allocations: 2.247 MB / 466.6 MB, free: 4.281 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004685/0.3199, allocations: 2.502 MB / 469.1 MB, free: 1.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00136/0.3213, allocations: 0.6133 MB / 469.7 MB, free: 1.156 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002113/0.3234, allocations: 0.8396 MB / 470.5 MB, free: 324 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001388/0.3248, allocations: 1.43 MB / 472 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003096/0.3279, allocations: 2.104 MB / 474.1 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01019/0.3381, allocations: 8.199 MB / 482.3 MB, free: 4.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3381, allocations: 0 / 482.3 MB, free: 4.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3381, allocations: 4 kB / 482.3 MB, free: 4.539 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000239/0.3383, allocations: 0 / 482.3 MB, free: 4.539 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.01734/0.3557, allocations: 5.451 MB / 487.7 MB, free: 15.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.3557, allocations: 12.03 kB / 487.7 MB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005723/0.3614, allocations: 1.025 MB / 488.8 MB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007841/0.3693, allocations: 2.945 MB / 491.7 MB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003392/0.3696, allocations: 308.2 kB / 492 MB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001258/0.3709, allocations: 399.9 kB / 492.4 MB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0112/0.3821, allocations: 5.371 MB / 497.8 MB, free: 4.801 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.462e-05/0.3822, allocations: 3.953 kB / 497.8 MB, free: 4.797 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004154/0.3826, allocations: 168 kB / 497.9 MB, free: 4.633 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001904/0.3828, allocations: 172 kB / 498.1 MB, free: 4.461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009294/0.3921, allocations: 4.458 MB / 0.4908 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03028/0.4223, allocations: 14.34 MB / 0.5048 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006688/0.429, allocations: 3.235 MB / 0.5079 GB, free: 14.17 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004516/0.4336, allocations: 1.988 MB / 0.5099 GB, free: 12.19 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009812/0.4434, allocations: 4.162 MB / 0.514 GB, free: 7.977 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.841e-05/0.4434, allocations: 51.88 kB / 0.514 GB, free: 7.918 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 4.619e-06/0.4434, allocations: 4 kB / 0.514 GB, free: 7.914 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.01317/0.4566, allocations: 5.874 MB / 0.5197 GB, free: 2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.4567, allocations: 72.66 kB / 0.5198 GB, free: 1.918 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003478/0.4601, allocations: 2.106 MB / 0.5219 GB, free: 15.78 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001768/0.4603, allocations: 57.7 kB / 0.5219 GB, free: 15.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001508/0.4618, allocations: 1.927 MB / 0.5238 GB, free: 13.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000582/0.4624, allocations: 0.5772 MB / 0.5244 GB, free: 13.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006056/0.463, allocations: 395.9 kB / 0.5247 GB, free: 12.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.4631, allocations: 309.1 kB / 0.525 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001528/0.4647, allocations: 0.8553 MB / 0.5259 GB, free: 11.63 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00213/0.4668, allocations: 1.596 MB / 0.5274 GB, free: 9.703 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003813/0.4706, allocations: 2.582 MB / 0.53 GB, free: 6.801 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.475e-05/0.4706, allocations: 11.94 kB / 0.53 GB, free: 6.789 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005396/0.476, allocations: 2.884 MB / 0.5328 GB, free: 3.891 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.1e-05/0.4761, allocations: 19.94 kB / 0.5328 GB, free: 3.871 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.649e-05/0.4761, allocations: 24 kB / 0.5328 GB, free: 3.848 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004528/0.4766, allocations: 174.1 kB / 0.533 GB, free: 3.672 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001999/0.4786, allocations: 0.5381 MB / 0.5335 GB, free: 3.133 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002579/0.4811, allocations: 2.28 MB / 0.5357 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001884/0.483, allocations: 115.9 kB / 0.5359 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001661/0.4832, allocations: 92 kB / 0.5359 GB, free: 0.5391 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.2344/0.7176, allocations: 1.197 MB / 0.5371 GB, free: 98.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007722/0.7184, allocations: 242.9 kB / 0.5373 GB, free: 98.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004712/0.7231, allocations: 2.341 MB / 0.5396 GB, free: 97.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.176e-05/0.7231, allocations: 17.33 kB / 0.5396 GB, free: 97.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.7231, allocations: 5.312 kB / 0.5396 GB, free: 97.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-05/0.7231, allocations: 8.828 kB / 0.5397 GB, free: 97.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008885/0.732, allocations: 4.892 MB / 0.5444 GB, free: 95.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.156e-06/0.732, allocations: 7.75 kB / 0.5444 GB, free: 95.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/0.7332, allocations: 281.6 kB / 0.5447 GB, free: 95.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008287/0.734, allocations: 365.2 kB / 0.5451 GB, free: 95.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.7341, allocations: 43.28 kB / 0.5451 GB, free: 95.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005522/0.7396, allocations: 6.926 MB / 0.5519 GB, free: 90.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.7396, allocations: 3.625 kB / 0.5519 GB, free: 90.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00493/0.7446, allocations: 3.487 MB / 0.5553 GB, free: 88.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001289/0.7458, allocations: 422.9 kB / 0.5557 GB, free: 88.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003147/0.7462, allocations: 36.19 kB / 0.5557 GB, free: 88.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.7472, allocations: 81.47 kB / 0.5558 GB, free: 88.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002772/0.7475, allocations: 127 kB / 0.5559 GB, free: 88.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.782e-05/0.7476, allocations: 47.73 kB / 0.556 GB, free: 88.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00183/0.7494, allocations: 1.397 MB / 0.5573 GB, free: 87.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7494, allocations: 0 / 0.5573 GB, free: 87.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002348/0.7518, allocations: 0.672 MB / 0.558 GB, free: 86.63 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.0003333/0.7521, allocations: 184.9 kB / 0.5582 GB, free: 86.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003481/0.7556, allocations: 2.157 MB / 0.5603 GB, free: 84.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.7556, allocations: 0 / 0.5603 GB, free: 84.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00186/0.7575, allocations: 1.408 MB / 0.5616 GB, free: 83.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002378/0.7598, allocations: 0.5071 MB / 0.5621 GB, free: 82.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.7703, allocations: 6.989 MB / 0.569 GB, free: 76.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001768/0.7721, allocations: 2.064 MB / 0.571 GB, free: 73.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000771/0.7729, allocations: 184.8 kB / 0.5711 GB, free: 73.81 MB / 446.1 MB Notification: Performance of SimCode: time 1.923e-06/0.7729, allocations: 0 / 0.5711 GB, free: 73.81 MB / 446.1 MB Notification: Performance of Templates: time 0.09342/0.8663, allocations: 96.62 MB / 0.6655 GB, free: 9.309 MB / 478.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/jenkins1/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/jenkins1/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: 13.8498678910546]