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.001806/0.001805, allocations: 119.4 kB / 18.41 MB, free: 4.539 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.001944/0.001944, allocations: 188.3 kB / 21.34 MB, free: 1.605 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.44/1.44, allocations: 222.9 MB / 247.1 MB, free: 4.188 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.001566/0.001566, allocations: 51.91 kB / 358.7 MB, free: 8.289 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1072, allocations: 49.43 MB / 408.1 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.02124/0.1285, allocations: 16.65 MB / 424.8 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01281/0.1414, allocations: 5.409 MB / 430.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003408/0.1448, allocations: 99.62 kB / 430.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2031/0.3479, allocations: 1.246 MB / 431.5 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005578/0.3536, allocations: 1.613 MB / 433.1 MB, free: 5.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002816/0.3564, allocations: 1.041 MB / 434.2 MB, free: 5.766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00682/0.3633, allocations: 5.115 MB / 439.3 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005481/0.3688, allocations: 4.318 MB / 443.6 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003564/0.3724, allocations: 2.179 MB / 445.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004718/0.3771, allocations: 2.604 MB / 448.4 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001693/0.3788, allocations: 0.6133 MB / 449 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002733/0.3816, allocations: 0.8348 MB / 449.8 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001409/0.383, allocations: 1.418 MB / 451.3 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004573/0.3876, allocations: 2.638 MB / 453.9 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01054/0.3982, allocations: 8.116 MB / 462 MB, free: 13.51 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.22e-05/0.3982, allocations: 5.766 kB / 462 MB, free: 13.51 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.3982, allocations: 4 kB / 462 MB, free: 13.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002642/0.3985, allocations: 0 / 462 MB, free: 13.5 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.01705/0.4156, allocations: 5.488 MB / 467.5 MB, free: 9.816 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.4156, allocations: 8.656 kB / 467.5 MB, free: 9.816 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005988/0.4216, allocations: 1.01 MB / 468.5 MB, free: 9.332 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006732/0.4284, allocations: 2.988 MB / 471.5 MB, free: 6.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003164/0.4287, allocations: 300.8 kB / 471.8 MB, free: 6.543 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001132/0.4299, allocations: 399 kB / 472.2 MB, free: 6.156 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01205/0.4419, allocations: 5.22 MB / 477.4 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001008/0.4421, allocations: 4 kB / 477.4 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004948/0.4426, allocations: 167.5 kB / 477.6 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002115/0.4428, allocations: 172 kB / 477.8 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01004/0.4528, allocations: 4.455 MB / 482.2 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03224/0.4851, allocations: 16.63 MB / 498.8 MB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009139/0.4943, allocations: 8.424 MB / 0.4954 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003629/0.498, allocations: 1.686 MB / 0.497 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009405/0.5074, allocations: 4.974 MB / 0.5019 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.808e-05/0.5075, allocations: 51.88 kB / 0.5019 GB, free: 10.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=157): time 3.357e-06/0.5075, allocations: 3.938 kB / 0.5019 GB, free: 10.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=160): time 0.0135/0.521, allocations: 6.193 MB / 0.508 GB, free: 4.418 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/0.5211, allocations: 68.72 kB / 0.5081 GB, free: 4.336 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003993/0.5251, allocations: 2.29 MB / 0.5103 GB, free: 2.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002841/0.5254, allocations: 53.7 kB / 0.5103 GB, free: 1.961 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001551/0.527, allocations: 1.895 MB / 0.5122 GB, free: 60 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007433/0.5277, allocations: 0.5771 MB / 0.5128 GB, free: 15.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006927/0.5284, allocations: 395.9 kB / 0.5131 GB, free: 15.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.5286, allocations: 301.1 kB / 0.5134 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001654/0.5303, allocations: 0.8514 MB / 0.5142 GB, free: 13.94 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002219/0.5325, allocations: 1.566 MB / 0.5158 GB, free: 12.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004024/0.5365, allocations: 2.549 MB / 0.5183 GB, free: 9.188 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.771e-05/0.5366, allocations: 8 kB / 0.5183 GB, free: 9.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.00591/0.5425, allocations: 2.893 MB / 0.5211 GB, free: 6.258 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/0.5426, allocations: 20.09 kB / 0.5211 GB, free: 6.238 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.649e-05/0.5426, allocations: 27.94 kB / 0.5211 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003754/0.543, allocations: 129.6 kB / 0.5213 GB, free: 6.078 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002095/0.5451, allocations: 0.5305 MB / 0.5218 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/0.5472, allocations: 1.989 MB / 0.5237 GB, free: 3.422 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002338/0.5496, allocations: 116 kB / 0.5238 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002407/0.5499, allocations: 95.98 kB / 0.5239 GB, free: 3.215 MB / 430.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.002953/0.5528, allocations: 1.196 MB / 0.5251 GB, free: 2.008 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000885/0.5537, allocations: 258.4 kB / 0.5253 GB, free: 1.754 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004882/0.5586, allocations: 2.444 MB / 0.5277 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/0.5586, allocations: 16 kB / 0.5277 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.5587, allocations: 11.98 kB / 0.5278 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/0.5587, allocations: 3.984 kB / 0.5278 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/0.5695, allocations: 5.773 MB / 0.5334 GB, free: 9.348 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/0.5695, allocations: 8.125 kB / 0.5334 GB, free: 9.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/0.5709, allocations: 287.6 kB / 0.5337 GB, free: 9.059 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008865/0.5718, allocations: 312.2 kB / 0.534 GB, free: 8.746 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001259/0.5719, allocations: 47.92 kB / 0.534 GB, free: 8.699 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007585/0.5795, allocations: 6.962 MB / 0.5408 GB, free: 1.336 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.5795, allocations: 4.031 kB / 0.5408 GB, free: 1.332 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006442/0.586, allocations: 3.563 MB / 0.5443 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001323/0.5873, allocations: 0.5032 MB / 0.5448 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004036/0.5877, allocations: 43.94 kB / 0.5448 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.5889, allocations: 79.92 kB / 0.5449 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002975/0.5892, allocations: 121 kB / 0.545 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.5894, allocations: 48 kB / 0.5451 GB, free: 12.87 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00264/0.592, allocations: 1.549 MB / 0.5466 GB, free: 11.31 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.592, allocations: 0 / 0.5466 GB, free: 11.31 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002739/0.5948, allocations: 0.6679 MB / 0.5472 GB, free: 10.64 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.0004535/0.5952, allocations: 178.1 kB / 0.5474 GB, free: 10.46 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004126/0.5994, allocations: 2.278 MB / 0.5496 GB, free: 8.156 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.5994, allocations: 0 / 0.5496 GB, free: 8.156 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002465/0.6019, allocations: 1.437 MB / 0.551 GB, free: 6.68 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003002/0.6049, allocations: 0.5994 MB / 0.5516 GB, free: 6.082 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01344/0.6184, allocations: 6.964 MB / 0.5584 GB, free: 15.07 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00289/0.6213, allocations: 2.595 MB / 0.561 GB, free: 12.45 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008855/0.6222, allocations: 183.4 kB / 0.5611 GB, free: 12.27 MB / 478.1 MB Notification: Performance of SimCode: time 7.91e-07/0.6222, allocations: 0 / 0.5611 GB, free: 12.27 MB / 478.1 MB Notification: Performance of Templates: time 0.309/0.9312, allocations: 95.62 MB / 0.6545 GB, free: 164.8 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: 14.263662140001543]