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.001842/0.001842, allocations: 116.1 kB / 18.46 MB, free: 4.621 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.002305/0.002305, allocations: 216.3 kB / 21.42 MB, free: 1.664 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.512/1.512, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.00147/0.00147, allocations: 51.92 kB / 374.2 MB, free: 9.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.11, allocations: 53.33 MB / 427.5 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.2273/0.3373, allocations: 17.35 MB / 444.9 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01343/0.3507, allocations: 5.711 MB / 450.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00526/0.3559, allocations: 128.1 kB / 450.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005133/0.3611, allocations: 1.307 MB / 452 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007645/0.3687, allocations: 1.634 MB / 453.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003913/0.3726, allocations: 1.099 MB / 454.7 MB, free: 10.81 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01085/0.3835, allocations: 5.225 MB / 460 MB, free: 8.148 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007214/0.3907, allocations: 2.945 MB / 462.9 MB, free: 6.777 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006699/0.3974, allocations: 2.248 MB / 465.1 MB, free: 5.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008135/0.4055, allocations: 2.67 MB / 467.8 MB, free: 4.051 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002668/0.4082, allocations: 0.6139 MB / 468.4 MB, free: 4.051 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004989/0.4132, allocations: 0.8592 MB / 469.3 MB, free: 3.926 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003525/0.4167, allocations: 1.428 MB / 470.7 MB, free: 2.773 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008157/0.4249, allocations: 2.654 MB / 473.4 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02074/0.4456, allocations: 8.158 MB / 481.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.328e-05/0.4456, allocations: 0 / 481.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.4456, allocations: 0 / 481.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003608/0.446, allocations: 0 / 481.5 MB, free: 10.46 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.02924/0.4752, allocations: 5.528 MB / 487.1 MB, free: 4.848 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.622e-05/0.4753, allocations: 12.03 kB / 487.1 MB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01228/0.4876, allocations: 1.017 MB / 488.1 MB, free: 3.816 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01271/0.5003, allocations: 3.021 MB / 491.1 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000547/0.5008, allocations: 312.2 kB / 491.4 MB, free: 444 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001972/0.5028, allocations: 392 kB / 491.8 MB, free: 52 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0211/0.5239, allocations: 5.229 MB / 497 MB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000143/0.524, allocations: 3.953 kB / 497 MB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001007/0.5251, allocations: 168 kB / 497.2 MB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003093/0.5254, allocations: 176 kB / 497.4 MB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01875/0.5441, allocations: 4.464 MB / 0.4901 GB, free: 5.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05751/0.6016, allocations: 16.73 MB / 0.5064 GB, free: 4.723 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01597/0.6176, allocations: 8.517 MB / 0.5147 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008349/0.626, allocations: 2.003 MB / 0.5167 GB, free: 9.133 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01761/0.6436, allocations: 5.778 MB / 0.5223 GB, free: 3.023 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.851e-05/0.6436, allocations: 55.81 kB / 0.5224 GB, free: 2.961 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 4.669e-06/0.6436, allocations: 4 kB / 0.5224 GB, free: 2.957 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.01609/0.6597, allocations: 6.349 MB / 0.5286 GB, free: 12.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.6598, allocations: 72.66 kB / 0.5287 GB, free: 12.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004674/0.6645, allocations: 2.319 MB / 0.5309 GB, free: 10.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002496/0.6647, allocations: 53.7 kB / 0.531 GB, free: 9.969 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001728/0.6664, allocations: 1.905 MB / 0.5328 GB, free: 8.043 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007692/0.6672, allocations: 0.581 MB / 0.5334 GB, free: 7.457 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008179/0.668, allocations: 395.9 kB / 0.5338 GB, free: 7.062 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.6682, allocations: 301.1 kB / 0.5341 GB, free: 6.766 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001762/0.6699, allocations: 0.8592 MB / 0.5349 GB, free: 5.902 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002375/0.6723, allocations: 1.578 MB / 0.5364 GB, free: 3.996 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004231/0.6765, allocations: 2.578 MB / 0.539 GB, free: 1.102 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.922e-05/0.6765, allocations: 7.984 kB / 0.539 GB, free: 1.094 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005943/0.6825, allocations: 2.987 MB / 0.5419 GB, free: 14.07 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.688e-05/0.6825, allocations: 16 kB / 0.5419 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.404e-05/0.6826, allocations: 24.53 kB / 0.5419 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004911/0.6831, allocations: 177.5 kB / 0.5421 GB, free: 13.85 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002132/0.6852, allocations: 0.5304 MB / 0.5426 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002843/0.688, allocations: 2.441 MB / 0.545 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002236/0.6903, allocations: 108 kB / 0.5451 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003011/0.6906, allocations: 100 kB / 0.5452 GB, free: 10.53 MB / 462.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.002711/0.6933, allocations: 1.198 MB / 0.5464 GB, free: 9.32 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008686/0.6941, allocations: 258.4 kB / 0.5466 GB, free: 9.066 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005335/0.6995, allocations: 2.52 MB / 0.5491 GB, free: 6.492 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.67e-05/0.6995, allocations: 16 kB / 0.5491 GB, free: 6.477 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.95e-05/0.6995, allocations: 4 kB / 0.5491 GB, free: 6.473 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.855e-05/0.6995, allocations: 7.969 kB / 0.5491 GB, free: 6.465 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/0.7121, allocations: 5.897 MB / 0.5549 GB, free: 448 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.7122, allocations: 8.188 kB / 0.5549 GB, free: 440 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001367/0.7135, allocations: 279.6 kB / 0.5551 GB, free: 160 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001072/0.7146, allocations: 378.9 kB / 0.5555 GB, free: 15.78 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001525/0.7148, allocations: 39.98 kB / 0.5555 GB, free: 15.74 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008665/0.7234, allocations: 7.398 MB / 0.5628 GB, free: 7.93 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.7234, allocations: 3.984 kB / 0.5628 GB, free: 7.926 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007118/0.7305, allocations: 3.665 MB / 0.5663 GB, free: 4.18 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001575/0.7321, allocations: 0.5071 MB / 0.5668 GB, free: 3.652 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007106/0.7328, allocations: 32 kB / 0.5669 GB, free: 3.621 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00161/0.7344, allocations: 83.92 kB / 0.5669 GB, free: 3.539 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000351/0.7348, allocations: 117.1 kB / 0.5671 GB, free: 3.426 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/0.7349, allocations: 47.98 kB / 0.5671 GB, free: 3.379 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003435/0.7383, allocations: 1.569 MB / 0.5686 GB, free: 1.797 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7383, allocations: 4 kB / 0.5686 GB, free: 1.793 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003369/0.7417, allocations: 0.6757 MB / 0.5693 GB, free: 1.117 MB / 478.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.0005185/0.7422, allocations: 183 kB / 0.5695 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004785/0.747, allocations: 2.227 MB / 0.5716 GB, free: 14.67 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.747, allocations: 0 / 0.5716 GB, free: 14.67 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002786/0.7498, allocations: 1.421 MB / 0.573 GB, free: 13.21 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004025/0.7538, allocations: 0.6102 MB / 0.5736 GB, free: 12.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01648/0.7703, allocations: 6.991 MB / 0.5805 GB, free: 5.559 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003931/0.7742, allocations: 2.604 MB / 0.583 GB, free: 2.93 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009901/0.7752, allocations: 195.4 kB / 0.5832 GB, free: 2.738 MB / 494.1 MB Notification: Performance of SimCode: time 1.573e-06/0.7752, allocations: 0 / 0.5832 GB, free: 2.738 MB / 494.1 MB Notification: Performance of Templates: time 0.3369/1.112, allocations: 96.94 MB / 0.6778 GB, free: 125.3 MB / 0.5137 GB " [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 -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: 15.084816868999042]