Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009017/0.0009017, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009021/0.0009021, allocations: 167.4 kB / 25.61 MB, free: 8.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9126/0.9126, allocations: 177 MB / 205.9 MB, free: 4.426 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 274.1 MB, free: 4.352 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.258e-05, allocations: 4.719 kB / 274.1 MB, free: 4.348 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.009907/0.00993, allocations: 11.41 MB / 285.5 MB, free: 8.891 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007487/0.01742, allocations: 3.902 MB / 289.4 MB, free: 4.984 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001576/0.01899, allocations: 79.5 kB / 289.5 MB, free: 4.906 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001923/0.02092, allocations: 0.8661 MB / 290.4 MB, free: 4.039 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002451/0.02337, allocations: 1.079 MB / 291.5 MB, free: 2.953 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.02438, allocations: 0.5381 MB / 292 MB, free: 2.414 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003408/0.02779, allocations: 3.583 MB / 295.6 MB, free: 14.82 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001751/0.02954, allocations: 1.487 MB / 297.1 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003022/0.03256, allocations: 2.581 MB / 299.7 MB, free: 10.68 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001918/0.03448, allocations: 1.73 MB / 301.4 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000489/0.03497, allocations: 396 kB / 301.8 MB, free: 8.555 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.036, allocations: 0.6205 MB / 302.4 MB, free: 7.934 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006924/0.0367, allocations: 1.153 MB / 303.5 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009754/0.03767, allocations: 1.259 MB / 304.8 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002546/0.04022, allocations: 3.006 MB / 307.8 MB, free: 2.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.04022, allocations: 0 / 307.8 MB, free: 2.5 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.04022, allocations: 0 / 307.8 MB, free: 2.5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.408e-05/0.04027, allocations: 0 / 307.8 MB, free: 2.5 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.004192/0.04446, allocations: 3.746 MB / 311.6 MB, free: 14.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.04449, allocations: 12.03 kB / 311.6 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.04558, allocations: 0.6899 MB / 312.3 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/0.04739, allocations: 1.732 MB / 314 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.0475, allocations: 209.8 kB / 314.2 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002529/0.04775, allocations: 272.1 kB / 314.5 MB, free: 11.74 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002292/0.05005, allocations: 2.029 MB / 316.5 MB, free: 9.586 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.316e-05/0.0501, allocations: 11.88 kB / 316.5 MB, free: 9.574 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/0.05026, allocations: 108 kB / 316.6 MB, free: 9.469 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003573/0.05062, allocations: 121.2 kB / 316.7 MB, free: 9.348 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.05182, allocations: 0.7825 MB / 317.5 MB, free: 8.535 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009477/0.0613, allocations: 8.941 MB / 326.5 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.06236, allocations: 0.8068 MB / 327.3 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006335/0.063, allocations: 499.1 kB / 327.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000151/0.06315, allocations: 53.28 kB / 327.8 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.06318, allocations: 46.7 kB / 327.8 MB, free: 13.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=130): time 4.368e-06/0.06318, allocations: 4 kB / 327.8 MB, free: 13.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=147): time 0.005284/0.06847, allocations: 2.896 MB / 330.7 MB, free: 10.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.06851, allocations: 68.72 kB / 330.8 MB, free: 10.85 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.07008, allocations: 1.543 MB / 332.4 MB, free: 9.293 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.415e-05/0.07016, allocations: 53.7 kB / 332.4 MB, free: 9.234 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006905/0.07085, allocations: 1.463 MB / 333.9 MB, free: 7.754 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002866/0.07113, allocations: 0.5345 MB / 334.4 MB, free: 7.215 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003376/0.07147, allocations: 340.9 kB / 334.7 MB, free: 6.871 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.07157, allocations: 480.8 kB / 335.2 MB, free: 6.398 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/0.07187, allocations: 207.8 kB / 335.4 MB, free: 6.195 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005949/0.07247, allocations: 0.9047 MB / 336.3 MB, free: 5.008 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.07349, allocations: 1.266 MB / 337.6 MB, free: 3.461 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.0735, allocations: 4 kB / 337.6 MB, free: 3.457 MB / 314.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.002184/0.07568, allocations: 1.464 MB / 339 MB, free: 1.973 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.0757, allocations: 12 kB / 339.1 MB, free: 1.961 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.07572, allocations: 23.97 kB / 339.1 MB, free: 1.938 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007092/0.07643, allocations: 312.8 kB / 339.4 MB, free: 1.621 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007884/0.07722, allocations: 383.4 kB / 339.8 MB, free: 1.246 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003064/0.08028, allocations: 4.931 MB / 344.7 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000785/0.08107, allocations: 67.98 kB / 344.8 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.919e-05/0.08116, allocations: 59.98 kB / 344.8 MB, free: 11.97 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (198): * Single equations (assignments): 193 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008009/0.08196, allocations: 275.9 kB / 345.1 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002936/0.08225, allocations: 250.7 kB / 345.3 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.08373, allocations: 1.161 MB / 346.5 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.608e-05/0.08376, allocations: 16 kB / 346.5 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.08377, allocations: 7.938 kB / 346.5 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.08378, allocations: 7.969 kB / 346.5 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004219/0.088, allocations: 3.427 MB / 350 MB, free: 6.668 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.08801, allocations: 8.031 kB / 350 MB, free: 6.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005853/0.08859, allocations: 244.1 kB / 350.2 MB, free: 6.422 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000746/0.08934, allocations: 332.9 kB / 350.5 MB, free: 6.086 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-05/0.0894, allocations: 47.97 kB / 350.6 MB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1236/0.213, allocations: 6.643 MB / 357.2 MB, free: 74.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.213, allocations: 8.719 kB / 357.2 MB, free: 74.27 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002647/0.2157, allocations: 1.685 MB / 358.9 MB, free: 73.85 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006176/0.2163, allocations: 336.6 kB / 359.2 MB, free: 73.85 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/0.2165, allocations: 32.94 kB / 359.3 MB, free: 73.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005215/0.217, allocations: 58.52 kB / 359.3 MB, free: 73.85 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002121/0.2172, allocations: 120.8 kB / 359.4 MB, free: 73.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-05/0.2173, allocations: 36.95 kB / 359.5 MB, free: 73.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009646/0.2182, allocations: 0.8413 MB / 360.3 MB, free: 73.69 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2182, allocations: 2.75 kB / 360.3 MB, free: 73.69 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001535/0.2198, allocations: 0.5683 MB / 360.9 MB, free: 73.69 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.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 (124): * Single equations (assignments): 119 * Array equations: 2 * 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 {(3,16,100.0%), (1,6,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003589/0.2201, allocations: 227.2 kB / 361.1 MB, free: 73.61 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001721/0.2218, allocations: 1.398 MB / 362.5 MB, free: 73.19 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2218, allocations: 0.75 kB / 362.5 MB, free: 73.19 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009035/0.2227, allocations: 1.119 MB / 363.6 MB, free: 72.64 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.2239, allocations: 452 kB / 364.1 MB, free: 72.63 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006212/0.2301, allocations: 4.742 MB / 368.8 MB, free: 70.59 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006658/0.2307, allocations: 0.7122 MB / 369.5 MB, free: 70.47 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009084/0.2316, allocations: 251.2 kB / 369.8 MB, free: 70.4 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008957/0.2325, allocations: 0.5007 MB / 370.3 MB, free: 70.34 MB / 330.7 MB Notification: Performance of SimCode: time 1.844e-06/0.2325, allocations: 1.203 kB / 370.3 MB, free: 70.34 MB / 330.7 MB Notification: Performance of Templates: time 0.04218/0.2747, allocations: 31.08 MB / 401.4 MB, free: 43.62 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8748093568719923]