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.001928/0.001928, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002365/0.002365, allocations: 209.2 kB / 24.47 MB, free: 3.977 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.567/1.567, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.00215/0.00215, allocations: 55.92 kB / 379 MB, free: 2.559 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3323, allocations: 53.36 MB / 432.4 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.05555/0.3878, allocations: 15.04 MB / 447.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01345/0.4013, allocations: 5.404 MB / 452.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003284/0.4046, allocations: 127.2 kB / 452.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005531/0.4101, allocations: 1.258 MB / 454.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006464/0.4166, allocations: 1.635 MB / 455.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003659/0.4202, allocations: 1.071 MB / 456.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009508/0.4297, allocations: 5.236 MB / 462.1 MB, free: 8.871 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004976/0.4347, allocations: 2.317 MB / 464.4 MB, free: 6.473 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004011/0.4387, allocations: 2.247 MB / 466.7 MB, free: 4.219 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005435/0.4441, allocations: 2.674 MB / 469.4 MB, free: 1.535 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001894/0.446, allocations: 0.6133 MB / 470 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003131/0.4492, allocations: 0.8513 MB / 470.8 MB, free: 72 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00245/0.4516, allocations: 1.433 MB / 472.3 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004461/0.4561, allocations: 2.104 MB / 474.4 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01301/0.4691, allocations: 8.198 MB / 482.6 MB, free: 4.293 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.4691, allocations: 0 / 482.6 MB, free: 4.293 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4691, allocations: 0 / 482.6 MB, free: 4.293 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002463/0.4694, allocations: 0 / 482.6 MB, free: 4.293 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.02109/0.4904, allocations: 5.453 MB / 488 MB, free: 14.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.4905, allocations: 8.031 kB / 488 MB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008488/0.499, allocations: 1.021 MB / 489 MB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009795/0.5088, allocations: 2.945 MB / 492 MB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004296/0.5092, allocations: 304.2 kB / 492.3 MB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001461/0.5107, allocations: 396 kB / 492.7 MB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01658/0.5272, allocations: 5.371 MB / 498 MB, free: 4.566 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001887/0.5274, allocations: 15.88 kB / 498.1 MB, free: 4.551 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001048/0.5285, allocations: 164 kB / 498.2 MB, free: 4.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002573/0.5287, allocations: 172 kB / 498.4 MB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01286/0.5416, allocations: 4.466 MB / 0.4911 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03941/0.581, allocations: 14.34 MB / 0.5051 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009027/0.59, allocations: 3.222 MB / 0.5082 GB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01844/0.6085, allocations: 1.986 MB / 0.5102 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0274/0.6359, allocations: 4.158 MB / 0.5142 GB, free: 7.746 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.771e-05/0.6359, allocations: 51.88 kB / 0.5143 GB, free: 7.688 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 5.821e-06/0.6359, allocations: 0 / 0.5143 GB, free: 7.688 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.02978/0.6657, allocations: 5.885 MB / 0.52 GB, free: 1.762 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.327e-05/0.6658, allocations: 68.72 kB / 0.5201 GB, free: 1.684 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004367/0.6702, allocations: 2.113 MB / 0.5221 GB, free: 15.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002589/0.6704, allocations: 53.7 kB / 0.5222 GB, free: 15.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0143/0.6847, allocations: 1.927 MB / 0.5241 GB, free: 13.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008632/0.6856, allocations: 0.5733 MB / 0.5246 GB, free: 12.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008911/0.6865, allocations: 399.9 kB / 0.525 GB, free: 12.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.6866, allocations: 305.1 kB / 0.5253 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002209/0.6888, allocations: 0.8631 MB / 0.5261 GB, free: 11.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00297/0.6918, allocations: 1.592 MB / 0.5277 GB, free: 9.461 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01656/0.7084, allocations: 2.586 MB / 0.5302 GB, free: 6.555 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.002e-05/0.7084, allocations: 4 kB / 0.5302 GB, free: 6.551 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.007655/0.7161, allocations: 2.885 MB / 0.533 GB, free: 3.652 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.902e-05/0.7161, allocations: 19.97 kB / 0.5331 GB, free: 3.633 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.564e-05/0.7162, allocations: 24 kB / 0.5331 GB, free: 3.609 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005885/0.7167, allocations: 181.5 kB / 0.5333 GB, free: 3.426 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002949/0.7197, allocations: 0.5266 MB / 0.5338 GB, free: 2.898 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003421/0.7231, allocations: 2.28 MB / 0.536 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002816/0.7259, allocations: 119.9 kB / 0.5361 GB, free: 400 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003764/0.7263, allocations: 99.98 kB / 0.5362 GB, free: 300 kB / 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.301/1.027, allocations: 1.196 MB / 0.5374 GB, free: 98.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008019/1.028, allocations: 245.6 kB / 0.5376 GB, free: 98.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005519/1.034, allocations: 2.342 MB / 0.5399 GB, free: 97.78 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.006e-05/1.034, allocations: 15.59 kB / 0.5399 GB, free: 97.78 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/1.034, allocations: 5.625 kB / 0.5399 GB, free: 97.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.253e-05/1.034, allocations: 11.28 kB / 0.5399 GB, free: 97.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01132/1.045, allocations: 4.887 MB / 0.5447 GB, free: 95.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/1.045, allocations: 1.062 kB / 0.5447 GB, free: 95.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001633/1.047, allocations: 284.4 kB / 0.545 GB, free: 95.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001201/1.048, allocations: 364.4 kB / 0.5453 GB, free: 95.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000169/1.048, allocations: 37.47 kB / 0.5454 GB, free: 95.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007394/1.055, allocations: 6.937 MB / 0.5521 GB, free: 90.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/1.055, allocations: 7.938 kB / 0.5521 GB, free: 90.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007562/1.063, allocations: 3.482 MB / 0.5555 GB, free: 88.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001947/1.065, allocations: 417.2 kB / 0.5559 GB, free: 88.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005355/1.065, allocations: 32 kB / 0.556 GB, free: 88.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001581/1.067, allocations: 86.91 kB / 0.5561 GB, free: 88.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003815/1.067, allocations: 130.8 kB / 0.5562 GB, free: 88.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/1.068, allocations: 43.89 kB / 0.5562 GB, free: 88.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002663/1.07, allocations: 1.399 MB / 0.5576 GB, free: 87.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/1.07, allocations: 0 / 0.5576 GB, free: 87.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003498/1.074, allocations: 0.668 MB / 0.5582 GB, free: 86.44 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.0004865/1.074, allocations: 183.7 kB / 0.5584 GB, free: 86.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004145/1.078, allocations: 2.161 MB / 0.5605 GB, free: 84.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/1.078, allocations: 0 / 0.5605 GB, free: 84.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002469/1.081, allocations: 1.408 MB / 0.5619 GB, free: 83.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003217/1.084, allocations: 0.5051 MB / 0.5624 GB, free: 82.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01454/1.099, allocations: 7.019 MB / 0.5692 GB, free: 75.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002411/1.101, allocations: 2.142 MB / 0.5713 GB, free: 73.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002256/1.103, allocations: 0.5185 MB / 0.5718 GB, free: 73.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005834/1.104, allocations: 163.4 kB / 0.572 GB, free: 72.98 MB / 446.1 MB Notification: Performance of SimCode: time 1.272e-06/1.104, allocations: 0 / 0.572 GB, free: 72.98 MB / 446.1 MB Notification: Performance of Templates: time 0.06621/1.17, allocations: 35.5 MB / 0.6067 GB, free: 38.02 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 -s cvode -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: 8.845722675003344]