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.001258/0.001258, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 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.005353/0.005353, allocations: 146.9 kB / 24.68 MB, free: 9.418 MB / 18.57 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 0.8517/0.8517, allocations: 173.4 MB / 201.2 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] 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 2.384e-06/2.384e-06, allocations: 0 / 319.7 MB, free: 5.711 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.925e-05/4.164e-05, allocations: 10.22 kB / 319.7 MB, free: 5.699 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01223/0.01228, allocations: 14.51 MB / 334.2 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008416/0.02069, allocations: 5.16 MB / 339.4 MB, free: 1.938 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00197/0.02266, allocations: 127.2 kB / 339.5 MB, free: 1.812 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002261/0.02492, allocations: 1.239 MB / 340.8 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003109/0.02803, allocations: 1.704 MB / 342.5 MB, free: 14.86 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.02946, allocations: 1.024 MB / 343.5 MB, free: 13.84 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004171/0.03363, allocations: 5.302 MB / 348.8 MB, free: 8.508 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00217/0.0358, allocations: 2.219 MB / 351 MB, free: 6.203 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003563/0.03936, allocations: 3.318 MB / 354.3 MB, free: 2.879 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002141/0.0415, allocations: 2.19 MB / 356.5 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005449/0.04205, allocations: 0.6094 MB / 357.1 MB, free: 76 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.0432, allocations: 0.8315 MB / 357.9 MB, free: 15.24 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007986/0.04399, allocations: 1.46 MB / 359.4 MB, free: 13.78 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00148/0.04547, allocations: 1.793 MB / 361.2 MB, free: 11.98 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005537/0.05101, allocations: 8.18 MB / 369.4 MB, free: 3.777 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.05101, allocations: 0 / 369.4 MB, free: 3.777 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.05102, allocations: 0 / 369.4 MB, free: 3.777 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.511e-05/0.05108, allocations: 0 / 369.4 MB, free: 3.777 MB / 330.7 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.006986/0.05807, allocations: 5.371 MB / 374.8 MB, free: 14.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.05811, allocations: 8.922 kB / 374.8 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002488/0.0606, allocations: 1.013 MB / 375.8 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003384/0.06398, allocations: 2.905 MB / 378.7 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/0.06413, allocations: 300.5 kB / 379 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003829/0.06451, allocations: 392.3 kB / 379.4 MB, free: 9.684 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005739/0.07025, allocations: 5.375 MB / 384.7 MB, free: 4.184 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.449e-05/0.07031, allocations: 7.953 kB / 384.7 MB, free: 4.176 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002609/0.07058, allocations: 168 kB / 384.9 MB, free: 4.012 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001074/0.07068, allocations: 172 kB / 385.1 MB, free: 3.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004853/0.07554, allocations: 4.447 MB / 389.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01403/0.08957, allocations: 14.33 MB / 403.9 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003199/0.09276, allocations: 3.169 MB / 407 MB, free: 13.63 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001621/0.09439, allocations: 1.557 MB / 408.6 MB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00445/0.09884, allocations: 3.882 MB / 412.5 MB, free: 8.156 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.09886, allocations: 47.88 kB / 412.5 MB, free: 8.102 MB / 378.7 MB Notification: Performance of pre-optimization done (n=157): time 2.425e-06/0.09886, allocations: 0 / 412.5 MB, free: 8.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=160): time 0.006709/0.1056, allocations: 5.705 MB / 418.2 MB, free: 2.359 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.1056, allocations: 68.72 kB / 418.3 MB, free: 2.281 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001838/0.1074, allocations: 2.084 MB / 420.4 MB, free: 164 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.839e-05/0.1075, allocations: 53.7 kB / 420.4 MB, free: 104 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008089/0.1083, allocations: 1.904 MB / 422.3 MB, free: 14.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002725/0.1086, allocations: 0.5694 MB / 422.9 MB, free: 13.61 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003546/0.109, allocations: 395.8 kB / 423.3 MB, free: 13.21 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.213e-05/0.109, allocations: 301.1 kB / 423.6 MB, free: 12.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008711/0.1099, allocations: 0.8475 MB / 424.4 MB, free: 12.06 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/0.1111, allocations: 1.584 MB / 426 MB, free: 10.15 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002124/0.1132, allocations: 2.558 MB / 428.6 MB, free: 7.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.1132, allocations: 12 kB / 428.6 MB, free: 7.258 MB / 394.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.002727/0.1159, allocations: 2.802 MB / 431.4 MB, free: 4.441 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.1159, allocations: 14.81 kB / 431.4 MB, free: 4.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.116, allocations: 24 kB / 431.4 MB, free: 4.406 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001936/0.1162, allocations: 125.6 kB / 431.5 MB, free: 4.277 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009851/0.1171, allocations: 0.5348 MB / 432.1 MB, free: 3.742 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/0.1182, allocations: 1.855 MB / 433.9 MB, free: 1.785 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007857/0.119, allocations: 111.8 kB / 434 MB, free: 1.676 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.703e-05/0.1191, allocations: 99.92 kB / 434.1 MB, free: 1.578 MB / 394.7 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.001488/0.1206, allocations: 1.196 MB / 435.3 MB, free: 380 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001924/0.1208, allocations: 234.5 kB / 435.6 MB, free: 144 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002443/0.1232, allocations: 2.272 MB / 437.8 MB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.1232, allocations: 16 kB / 437.8 MB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.1232, allocations: 4 kB / 437.8 MB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.1232, allocations: 7.969 kB / 437.9 MB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005042/0.1283, allocations: 4.759 MB / 442.6 MB, free: 8.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.1283, allocations: 12.19 kB / 442.6 MB, free: 8.969 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006283/0.1289, allocations: 287.6 kB / 442.9 MB, free: 8.688 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004469/0.1294, allocations: 306.3 kB / 443.2 MB, free: 8.379 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.624e-05/0.1294, allocations: 39.98 kB / 443.2 MB, free: 8.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003855/0.1333, allocations: 6.51 MB / 449.8 MB, free: 1.527 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.1333, allocations: 160 / 449.8 MB, free: 1.527 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1559/0.2892, allocations: 3.379 MB / 453.1 MB, free: 116.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/0.2902, allocations: 416.7 kB / 453.5 MB, free: 116.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/0.2903, allocations: 33.75 kB / 453.6 MB, free: 116.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005564/0.2909, allocations: 81.8 kB / 453.7 MB, free: 116.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/0.2911, allocations: 127.4 kB / 453.8 MB, free: 116.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.87e-05/0.2911, allocations: 46.05 kB / 453.8 MB, free: 116.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00122/0.2923, allocations: 1.377 MB / 455.2 MB, free: 115.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2923, allocations: 0 / 455.2 MB, free: 115.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00136/0.2937, allocations: 0.6627 MB / 455.9 MB, free: 115.5 MB / 410.7 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.0002598/0.294, allocations: 182.8 kB / 456 MB, free: 115.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00201/0.296, allocations: 2.116 MB / 458.2 MB, free: 114.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.296, allocations: 0 / 458.2 MB, free: 114.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.297, allocations: 1.365 MB / 459.5 MB, free: 113.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.2981, allocations: 0.5029 MB / 460 MB, free: 113.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006217/0.3044, allocations: 6.772 MB / 466.8 MB, free: 109.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/0.3055, allocations: 2.058 MB / 468.9 MB, free: 107.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003572/0.3059, allocations: 177.3 kB / 469 MB, free: 107.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.3059, allocations: 0 / 469 MB, free: 107.5 MB / 410.7 MB Notification: Performance of Templates: time 0.04856/0.3544, allocations: 95.63 MB / 0.5514 GB, free: 12.5 MB / 410.7 MB " [Timeout remaining time 660] 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/jenkins/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/jenkins/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: 8.29711570031941]