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.001448/0.001448, allocations: 109.5 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.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.001457/0.001457, allocations: 190 kB / 23.72 MB, free: 4.68 MB / 14.72 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.451/1.451, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 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 0.001592/0.001592, allocations: 47.92 kB / 371 MB, free: 9.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2415, allocations: 52.18 MB / 423.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.02007/0.2616, allocations: 16.8 MB / 439.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01082/0.2724, allocations: 5.448 MB / 445.4 MB, free: 8.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002457/0.2749, allocations: 127.2 kB / 445.5 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003476/0.2783, allocations: 1.282 MB / 446.8 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005654/0.284, allocations: 1.682 MB / 448.5 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002807/0.2868, allocations: 1.062 MB / 449.5 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007737/0.2945, allocations: 5.114 MB / 454.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003416/0.2979, allocations: 2.317 MB / 457 MB, free: 12.63 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003119/0.3011, allocations: 2.231 MB / 459.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003883/0.3049, allocations: 2.642 MB / 461.8 MB, free: 7.742 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00099/0.3059, allocations: 0.6133 MB / 462.5 MB, free: 7.129 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001853/0.3078, allocations: 0.8435 MB / 463.3 MB, free: 6.285 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001386/0.3092, allocations: 1.437 MB / 464.7 MB, free: 4.844 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003046/0.3122, allocations: 2.637 MB / 467.4 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009574/0.3218, allocations: 8.114 MB / 475.5 MB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3218, allocations: 0 / 475.5 MB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3218, allocations: 0 / 475.5 MB, free: 10.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001918/0.322, allocations: 0 / 475.5 MB, free: 10.05 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.01528/0.3373, allocations: 5.426 MB / 480.9 MB, free: 4.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.3373, allocations: 12.02 kB / 480.9 MB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005539/0.3429, allocations: 1.005 MB / 481.9 MB, free: 3.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006586/0.3494, allocations: 2.909 MB / 484.8 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000265/0.3497, allocations: 304.2 kB / 485.1 MB, free: 292 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008616/0.3506, allocations: 403.9 kB / 485.5 MB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01042/0.361, allocations: 5.217 MB / 490.8 MB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-05/0.3611, allocations: 7.984 kB / 490.8 MB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004103/0.3615, allocations: 160 kB / 490.9 MB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001858/0.3617, allocations: 172 kB / 491.1 MB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009222/0.3709, allocations: 4.462 MB / 495.5 MB, free: 5.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0277/0.3986, allocations: 16.32 MB / 0.4999 GB, free: 4.984 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006258/0.4049, allocations: 3.201 MB / 0.503 GB, free: 1.984 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003457/0.4083, allocations: 1.55 MB / 0.5045 GB, free: 456 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01059/0.4189, allocations: 4.333 MB / 0.5087 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.9e-05/0.419, allocations: 51.88 kB / 0.5088 GB, free: 12.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 4.308e-06/0.419, allocations: 0 / 0.5088 GB, free: 12.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.01322/0.4322, allocations: 5.717 MB / 0.5144 GB, free: 6.258 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.4322, allocations: 68.72 kB / 0.5144 GB, free: 6.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004059/0.4363, allocations: 2.286 MB / 0.5167 GB, free: 3.867 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001887/0.4365, allocations: 57.69 kB / 0.5167 GB, free: 3.805 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00156/0.438, allocations: 1.889 MB / 0.5186 GB, free: 1.895 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006113/0.4387, allocations: 0.5849 MB / 0.5191 GB, free: 1.305 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006893/0.4393, allocations: 395.9 kB / 0.5195 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.4395, allocations: 309.1 kB / 0.5198 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001672/0.4411, allocations: 0.8397 MB / 0.5206 GB, free: 15.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002298/0.4434, allocations: 1.563 MB / 0.5222 GB, free: 13.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004132/0.4476, allocations: 2.558 MB / 0.5247 GB, free: 10.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.229e-05/0.4476, allocations: 8 kB / 0.5247 GB, free: 10.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.0056/0.4532, allocations: 2.818 MB / 0.5274 GB, free: 8.152 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.878e-05/0.4532, allocations: 15.94 kB / 0.5274 GB, free: 8.137 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-05/0.4533, allocations: 24 kB / 0.5275 GB, free: 8.113 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003746/0.4536, allocations: 122.2 kB / 0.5276 GB, free: 7.988 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002127/0.4558, allocations: 0.5382 MB / 0.5281 GB, free: 7.449 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/0.4578, allocations: 1.894 MB / 0.5299 GB, free: 5.445 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/0.4597, allocations: 107.9 kB / 0.53 GB, free: 5.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002227/0.4599, allocations: 96 kB / 0.5301 GB, free: 5.246 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 (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.002212/0.4621, allocations: 1.196 MB / 0.5313 GB, free: 4.039 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000605/0.4627, allocations: 262.3 kB / 0.5316 GB, free: 3.781 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004843/0.4675, allocations: 2.278 MB / 0.5338 GB, free: 1.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.4676, allocations: 16 kB / 0.5338 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.4676, allocations: 4 kB / 0.5338 GB, free: 1.461 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/0.4676, allocations: 7.969 kB / 0.5338 GB, free: 1.453 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2223/0.6898, allocations: 5.595 MB / 0.5393 GB, free: 103.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.6899, allocations: 1.625 kB / 0.5393 GB, free: 103.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/0.6911, allocations: 285.9 kB / 0.5395 GB, free: 103.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007228/0.6918, allocations: 316.4 kB / 0.5398 GB, free: 103 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-05/0.6919, allocations: 39.64 kB / 0.5399 GB, free: 103 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004922/0.6968, allocations: 6.647 MB / 0.5464 GB, free: 97.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.6968, allocations: 3.188 kB / 0.5464 GB, free: 97.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004814/0.7017, allocations: 3.403 MB / 0.5497 GB, free: 96.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/0.7029, allocations: 448.2 kB / 0.5501 GB, free: 96.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002972/0.7031, allocations: 43.12 kB / 0.5502 GB, free: 96.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.7043, allocations: 81.42 kB / 0.5503 GB, free: 96.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002495/0.7045, allocations: 123.4 kB / 0.5504 GB, free: 95.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.439e-05/0.7046, allocations: 45.84 kB / 0.5504 GB, free: 95.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001907/0.7065, allocations: 1.55 MB / 0.5519 GB, free: 95.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.7065, allocations: 0 / 0.5519 GB, free: 95.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001904/0.7084, allocations: 0.6666 MB / 0.5526 GB, free: 95.31 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 (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.0002907/0.7087, allocations: 177 kB / 0.5527 GB, free: 95.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003039/0.7117, allocations: 2.108 MB / 0.5548 GB, free: 94.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.7117, allocations: 7.188 kB / 0.5548 GB, free: 94.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001777/0.7135, allocations: 1.372 MB / 0.5562 GB, free: 93.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/0.7158, allocations: 0.5901 MB / 0.5567 GB, free: 93.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.7265, allocations: 7.027 MB / 0.5636 GB, free: 87.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00169/0.7281, allocations: 2.665 MB / 0.5662 GB, free: 84.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001757/0.7299, allocations: 0.5552 MB / 0.5667 GB, free: 84.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004554/0.7304, allocations: 159.4 kB / 0.5669 GB, free: 84.06 MB / 446.1 MB Notification: Performance of SimCode: time 1.412e-06/0.7304, allocations: 3.172 kB / 0.5669 GB, free: 84.06 MB / 446.1 MB Notification: Performance of Templates: time 0.04863/0.779, allocations: 32.61 MB / 0.5987 GB, free: 51.92 MB / 446.1 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.471023798920214]