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.001524/0.001524, allocations: 115.5 kB / 18.45 MB, free: 4.602 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.001676/0.001676, allocations: 192.3 kB / 21.4 MB, free: 1.664 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.523/1.523, allocations: 225.6 MB / 249.8 MB, free: 3.578 MB / 190.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.001495/0.001495, allocations: 47.92 kB / 366.8 MB, free: 308 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09631/0.09781, allocations: 52.14 MB / 419 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.02025/0.1181, allocations: 16.72 MB / 435.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01108/0.1291, allocations: 5.429 MB / 441.1 MB, free: 5.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002905/0.132, allocations: 103.6 kB / 441.2 MB, free: 5.719 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003928/0.136, allocations: 1.293 MB / 442.5 MB, free: 4.418 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005902/0.1419, allocations: 1.661 MB / 444.2 MB, free: 2.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003039/0.1449, allocations: 1.046 MB / 445.2 MB, free: 1.707 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.1963/0.3412, allocations: 5.108 MB / 450.3 MB, free: 9.703 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004153/0.3454, allocations: 2.939 MB / 453.3 MB, free: 9.309 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004027/0.3494, allocations: 2.196 MB / 455.5 MB, free: 9.039 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006637/0.356, allocations: 2.634 MB / 458.1 MB, free: 8.578 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002311/0.3584, allocations: 0.613 MB / 458.7 MB, free: 8.578 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003794/0.3622, allocations: 0.8409 MB / 459.6 MB, free: 8.578 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002129/0.3643, allocations: 1.431 MB / 461 MB, free: 8.406 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004691/0.369, allocations: 2.631 MB / 463.6 MB, free: 7.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01036/0.3793, allocations: 8.118 MB / 471.7 MB, free: 4.418 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.3793, allocations: 1.125 kB / 471.7 MB, free: 4.418 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3793, allocations: 0 / 471.7 MB, free: 4.418 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002509/0.3796, allocations: 0 / 471.7 MB, free: 4.418 MB / 366.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.01568/0.3953, allocations: 5.5 MB / 477.2 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.3953, allocations: 9.625 kB / 477.2 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005623/0.4009, allocations: 1.009 MB / 478.3 MB, free: 312 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006953/0.4079, allocations: 2.985 MB / 481.2 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002874/0.4082, allocations: 299.9 kB / 481.5 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001305/0.4095, allocations: 400.8 kB / 481.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.012/0.4215, allocations: 5.214 MB / 487.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-05/0.4216, allocations: 8.25 kB / 487.1 MB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004511/0.422, allocations: 163.7 kB / 487.3 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001541/0.4222, allocations: 174 kB / 487.5 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009631/0.4318, allocations: 4.458 MB / 491.9 MB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03426/0.4661, allocations: 16.64 MB / 0.4967 GB, free: 6.988 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009402/0.4755, allocations: 8.249 MB / 0.5047 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003617/0.4791, allocations: 1.56 MB / 0.5062 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01116/0.4903, allocations: 4.973 MB / 0.5111 GB, free: 7.098 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.151e-05/0.4903, allocations: 47.88 kB / 0.5111 GB, free: 7.043 MB / 414.1 MB Notification: Performance of pre-optimization done (n=157): time 3.647e-06/0.4903, allocations: 0 / 0.5111 GB, free: 7.043 MB / 414.1 MB Notification: Performance of matching and sorting (n=160): time 0.01491/0.5052, allocations: 6.18 MB / 0.5172 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.5053, allocations: 64.72 kB / 0.5172 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00502/0.5103, allocations: 2.295 MB / 0.5195 GB, free: 14.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003421/0.5107, allocations: 53.7 kB / 0.5195 GB, free: 14.28 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001742/0.5124, allocations: 1.899 MB / 0.5214 GB, free: 12.37 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008205/0.5132, allocations: 0.5673 MB / 0.5219 GB, free: 11.81 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009441/0.5142, allocations: 395.9 kB / 0.5223 GB, free: 11.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.5143, allocations: 309.1 kB / 0.5226 GB, free: 11.11 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001814/0.5161, allocations: 0.8436 MB / 0.5234 GB, free: 10.26 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002331/0.5184, allocations: 1.562 MB / 0.525 GB, free: 8.387 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004243/0.5227, allocations: 2.552 MB / 0.5274 GB, free: 5.609 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.688e-05/0.5227, allocations: 8 kB / 0.5275 GB, free: 5.602 MB / 430.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.006034/0.5287, allocations: 2.89 MB / 0.5303 GB, free: 2.816 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.731e-05/0.5288, allocations: 16 kB / 0.5303 GB, free: 2.801 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-05/0.5288, allocations: 24.52 kB / 0.5303 GB, free: 2.777 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003832/0.5292, allocations: 125.6 kB / 0.5304 GB, free: 2.648 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002175/0.5314, allocations: 0.5423 MB / 0.531 GB, free: 2.141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002119/0.5335, allocations: 1.998 MB / 0.5329 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002375/0.5359, allocations: 115.9 kB / 0.533 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002918/0.5362, allocations: 99.98 kB / 0.5331 GB, free: 15.82 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.002665/0.5388, allocations: 1.188 MB / 0.5343 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007714/0.5396, allocations: 254.4 kB / 0.5345 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004968/0.5446, allocations: 2.438 MB / 0.5369 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/0.5446, allocations: 16 kB / 0.5369 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.955e-05/0.5446, allocations: 4 kB / 0.5369 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-05/0.5446, allocations: 11.97 kB / 0.5369 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01217/0.5568, allocations: 5.761 MB / 0.5426 GB, free: 6.062 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.5568, allocations: 4.031 kB / 0.5426 GB, free: 6.059 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/0.5582, allocations: 283.9 kB / 0.5428 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009329/0.5591, allocations: 322.1 kB / 0.5431 GB, free: 5.477 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001349/0.5593, allocations: 35.98 kB / 0.5432 GB, free: 5.441 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007509/0.5668, allocations: 6.973 MB / 0.55 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.5668, allocations: 4 kB / 0.55 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006649/0.5734, allocations: 3.546 MB / 0.5535 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001566/0.575, allocations: 0.5071 MB / 0.554 GB, free: 9.957 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004193/0.5754, allocations: 40.06 kB / 0.554 GB, free: 9.918 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/0.5766, allocations: 83.92 kB / 0.5541 GB, free: 9.836 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003307/0.577, allocations: 121.1 kB / 0.5542 GB, free: 9.719 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.5771, allocations: 39.98 kB / 0.5542 GB, free: 9.68 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002693/0.5798, allocations: 1.556 MB / 0.5557 GB, free: 8.113 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5798, allocations: 4 kB / 0.5557 GB, free: 8.109 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002949/0.5827, allocations: 0.6641 MB / 0.5564 GB, free: 7.445 MB / 462.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.0004346/0.5831, allocations: 177.3 kB / 0.5566 GB, free: 7.27 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004104/0.5872, allocations: 2.187 MB / 0.5587 GB, free: 5.141 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.5872, allocations: 0 / 0.5587 GB, free: 5.141 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00248/0.5897, allocations: 1.371 MB / 0.56 GB, free: 3.762 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00344/0.5932, allocations: 0.6024 MB / 0.5606 GB, free: 3.164 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01448/0.6076, allocations: 6.954 MB / 0.5674 GB, free: 12.18 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002819/0.6105, allocations: 2.599 MB / 0.57 GB, free: 9.551 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009667/0.6114, allocations: 179.4 kB / 0.5701 GB, free: 9.375 MB / 478.1 MB Notification: Performance of SimCode: time 2.154e-06/0.6114, allocations: 3.281 kB / 0.5701 GB, free: 9.375 MB / 478.1 MB Notification: Performance of Templates: time 0.3391/0.9505, allocations: 95.96 MB / 0.6638 GB, free: 155.5 MB / 0.5137 GB " [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_2/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_2/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: 15.033928934019059]