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.001361/0.001361, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.001386/0.001386, allocations: 187 kB / 24.46 MB, free: 3.863 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.432/1.432, allocations: 225.7 MB / 253.3 MB, free: 12.82 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.001559/0.001559, allocations: 47.92 kB / 371.7 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.269, allocations: 52.17 MB / 423.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01937/0.2884, allocations: 14.53 MB / 438.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01201/0.3004, allocations: 5.133 MB / 443.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003195/0.3036, allocations: 127.2 kB / 443.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003612/0.3072, allocations: 1.235 MB / 444.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005482/0.3127, allocations: 1.65 MB / 446.5 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002637/0.3153, allocations: 1.026 MB / 447.5 MB, free: 6.676 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007081/0.3224, allocations: 5.121 MB / 452.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003351/0.3258, allocations: 2.211 MB / 454.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00326/0.329, allocations: 2.243 MB / 457.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004047/0.3331, allocations: 2.463 MB / 459.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001076/0.3341, allocations: 0.6171 MB / 460.2 MB, free: 9.902 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001853/0.336, allocations: 0.8239 MB / 461 MB, free: 9.078 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001341/0.3373, allocations: 1.43 MB / 462.4 MB, free: 7.645 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002932/0.3403, allocations: 2.097 MB / 464.5 MB, free: 5.539 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00914/0.3494, allocations: 8.148 MB / 472.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3494, allocations: 0 / 472.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3494, allocations: 0 / 472.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001511/0.3496, allocations: 4 kB / 472.7 MB, free: 13.36 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.01306/0.3626, allocations: 5.418 MB / 478.1 MB, free: 7.875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.3627, allocations: 8.031 kB / 478.1 MB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004925/0.3676, allocations: 1.013 MB / 479.1 MB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006149/0.3737, allocations: 2.905 MB / 482 MB, free: 3.898 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002582/0.374, allocations: 308.2 kB / 482.3 MB, free: 3.594 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000675/0.3747, allocations: 403.9 kB / 482.7 MB, free: 3.199 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009405/0.3841, allocations: 5.364 MB / 488.1 MB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.629e-05/0.3842, allocations: 7.891 kB / 488.1 MB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003628/0.3845, allocations: 176 kB / 488.3 MB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001721/0.3847, allocations: 168 kB / 488.4 MB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00813/0.3928, allocations: 4.451 MB / 492.9 MB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02674/0.4196, allocations: 14.31 MB / 0.4953 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005584/0.4252, allocations: 3.184 MB / 0.4984 GB, free: 7.156 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002762/0.4279, allocations: 1.551 MB / 0.4999 GB, free: 5.613 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008084/0.436, allocations: 3.882 MB / 0.5037 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.555e-05/0.4361, allocations: 51.88 kB / 0.5038 GB, free: 1.629 MB / 414.1 MB Notification: Performance of pre-optimization done (n=157): time 3.627e-06/0.4361, allocations: 0 / 0.5038 GB, free: 1.629 MB / 414.1 MB Notification: Performance of matching and sorting (n=160): time 0.01243/0.4485, allocations: 5.705 MB / 0.5093 GB, free: 11.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.4485, allocations: 72.7 kB / 0.5094 GB, free: 11.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0035/0.452, allocations: 2.084 MB / 0.5115 GB, free: 9.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001857/0.4522, allocations: 57.7 kB / 0.5115 GB, free: 9.617 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001636/0.4539, allocations: 1.911 MB / 0.5134 GB, free: 7.688 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005974/0.4545, allocations: 0.5694 MB / 0.5139 GB, free: 7.113 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006641/0.4551, allocations: 403.9 kB / 0.5143 GB, free: 6.711 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.4553, allocations: 301.1 kB / 0.5146 GB, free: 6.414 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/0.4568, allocations: 0.8475 MB / 0.5154 GB, free: 5.562 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002222/0.459, allocations: 1.58 MB / 0.517 GB, free: 3.648 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004039/0.4631, allocations: 2.558 MB / 0.5195 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-05/0.4631, allocations: 11.98 kB / 0.5195 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005378/0.4685, allocations: 2.799 MB / 0.5222 GB, free: 13.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.528e-05/0.4685, allocations: 16 kB / 0.5222 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.312e-05/0.4685, allocations: 24 kB / 0.5223 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003426/0.4689, allocations: 129.6 kB / 0.5224 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002029/0.4709, allocations: 0.5348 MB / 0.5229 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001902/0.4728, allocations: 1.852 MB / 0.5247 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001924/0.4747, allocations: 111.9 kB / 0.5248 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001666/0.4749, allocations: 99.92 kB / 0.5249 GB, free: 11.08 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.002352/0.4773, allocations: 1.192 MB / 0.5261 GB, free: 9.875 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004787/0.4777, allocations: 234.5 kB / 0.5263 GB, free: 9.645 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004456/0.4822, allocations: 2.269 MB / 0.5285 GB, free: 7.355 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/0.4822, allocations: 12 kB / 0.5285 GB, free: 7.344 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/0.4822, allocations: 8 kB / 0.5285 GB, free: 7.336 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/0.4822, allocations: 7.969 kB / 0.5285 GB, free: 7.328 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009774/0.492, allocations: 4.758 MB / 0.5332 GB, free: 2.496 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/0.492, allocations: 4.031 kB / 0.5332 GB, free: 2.492 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/0.4933, allocations: 291.6 kB / 0.5335 GB, free: 2.207 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008307/0.4941, allocations: 313.6 kB / 0.5338 GB, free: 1.895 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/0.4943, allocations: 43.92 kB / 0.5338 GB, free: 1.852 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.243/0.7372, allocations: 6.499 MB / 0.5402 GB, free: 102.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.7372, allocations: 5.406 kB / 0.5402 GB, free: 102.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00558/0.7428, allocations: 3.38 MB / 0.5435 GB, free: 100.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/0.7441, allocations: 416.4 kB / 0.5439 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002989/0.7444, allocations: 36.52 kB / 0.5439 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.7455, allocations: 78.36 kB / 0.544 GB, free: 100.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003312/0.7458, allocations: 134.5 kB / 0.5441 GB, free: 100.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.7459, allocations: 45.95 kB / 0.5441 GB, free: 100.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0018/0.7477, allocations: 1.376 MB / 0.5455 GB, free: 99.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7477, allocations: 0 / 0.5455 GB, free: 99.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002047/0.7497, allocations: 0.6679 MB / 0.5461 GB, free: 99.89 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.0003431/0.7501, allocations: 177 kB / 0.5463 GB, free: 99.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003303/0.7534, allocations: 2.116 MB / 0.5484 GB, free: 98.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.7534, allocations: 0 / 0.5484 GB, free: 98.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001867/0.7553, allocations: 1.365 MB / 0.5497 GB, free: 98.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002315/0.7576, allocations: 0.4965 MB / 0.5502 GB, free: 98.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.7682, allocations: 6.968 MB / 0.557 GB, free: 92.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001965/0.7702, allocations: 2.05 MB / 0.559 GB, free: 90.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007414/0.7709, allocations: 182 kB / 0.5592 GB, free: 90.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.162e-06/0.7709, allocations: 0 / 0.5592 GB, free: 90.7 MB / 446.1 MB Notification: Performance of Templates: time 0.08471/0.8556, allocations: 95.61 MB / 0.6525 GB, free: 11.69 MB / 462.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/jenkins1/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/jenkins1/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: 13.79076379770413]