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.0008242/0.0008242, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003603/0.003603, allocations: 158.7 kB / 24.7 MB, free: 9.441 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.8821/0.8821, allocations: 177 MB / 204.8 MB, free: 5.75 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.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|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.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|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.483e-06/1.483e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.35e-05, allocations: 2.281 kB / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.008359/0.008382, allocations: 10.43 MB / 336.2 MB, free: 4.891 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006205/0.01459, allocations: 3.788 MB / 340 MB, free: 1.086 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.01581, allocations: 79.5 kB / 340.1 MB, free: 1.008 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001523/0.01733, allocations: 0.8466 MB / 340.9 MB, free: 160 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001894/0.01922, allocations: 1.071 MB / 342 MB, free: 15.08 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000845/0.02007, allocations: 0.5303 MB / 342.5 MB, free: 14.55 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002389/0.02246, allocations: 3.598 MB / 346.1 MB, free: 10.93 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.02384, allocations: 1.498 MB / 347.6 MB, free: 9.375 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001956/0.0258, allocations: 2.304 MB / 349.9 MB, free: 7.066 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001596/0.02739, allocations: 1.679 MB / 351.6 MB, free: 5.383 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004126/0.02781, allocations: 408 kB / 352 MB, free: 4.984 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007975/0.02861, allocations: 0.6361 MB / 352.7 MB, free: 4.348 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007443/0.02935, allocations: 1.188 MB / 353.8 MB, free: 3.156 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001068/0.03042, allocations: 1.271 MB / 355.1 MB, free: 1.883 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003934/0.03435, allocations: 5.453 MB / 360.6 MB, free: 12.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.03436, allocations: 0 / 360.6 MB, free: 12.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.03436, allocations: 0 / 360.6 MB, free: 12.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.015e-05/0.03442, allocations: 3.984 kB / 360.6 MB, free: 12.41 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.004627/0.03905, allocations: 3.71 MB / 364.3 MB, free: 8.648 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.03909, allocations: 15.98 kB / 364.3 MB, free: 8.633 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009702/0.04006, allocations: 482.5 kB / 364.8 MB, free: 8.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00222/0.04228, allocations: 1.913 MB / 366.7 MB, free: 6.203 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.04239, allocations: 209.8 kB / 366.9 MB, free: 5.996 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002673/0.04266, allocations: 272.1 kB / 367.2 MB, free: 5.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003851/0.04651, allocations: 3.646 MB / 370.8 MB, free: 1.973 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.885e-05/0.04656, allocations: 8 kB / 370.8 MB, free: 1.965 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001828/0.04674, allocations: 108 kB / 370.9 MB, free: 1.859 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001157/0.04686, allocations: 121.2 kB / 371 MB, free: 1.738 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003271/0.05013, allocations: 2.964 MB / 374 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009457/0.05959, allocations: 9.575 MB / 383.6 MB, free: 4.867 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.06119, allocations: 1.503 MB / 385.1 MB, free: 3.367 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/0.06239, allocations: 1.087 MB / 386.2 MB, free: 2.277 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001772/0.06257, allocations: 49.27 kB / 386.2 MB, free: 2.227 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.0626, allocations: 51.88 kB / 386.3 MB, free: 2.168 MB / 346.7 MB Notification: Performance of pre-optimization done (n=130): time 4.007e-06/0.0626, allocations: 0 / 386.3 MB, free: 2.168 MB / 346.7 MB Notification: Performance of matching and sorting (n=147): time 0.008974/0.07158, allocations: 7.005 MB / 393.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.07162, allocations: 76.64 kB / 393.3 MB, free: 11.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/0.07331, allocations: 1.831 MB / 395.2 MB, free: 9.219 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.775e-05/0.07338, allocations: 53.7 kB / 395.2 MB, free: 9.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006137/0.074, allocations: 1.357 MB / 396.6 MB, free: 7.789 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002769/0.07427, allocations: 0.519 MB / 397.1 MB, free: 7.266 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003346/0.07461, allocations: 323.4 kB / 397.4 MB, free: 6.945 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.804e-05/0.07468, allocations: 305.1 kB / 397.7 MB, free: 6.645 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009381/0.07562, allocations: 0.8823 MB / 398.6 MB, free: 5.762 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.07678, allocations: 1.38 MB / 400 MB, free: 4.172 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002129/0.07891, allocations: 2.373 MB / 402.3 MB, free: 1.594 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.07892, allocations: 4 kB / 402.4 MB, free: 1.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.002994/0.08191, allocations: 2.888 MB / 405.2 MB, free: 14.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.08193, allocations: 12 kB / 405.3 MB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.08195, allocations: 16 kB / 405.3 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006719/0.08262, allocations: 466.2 kB / 405.7 MB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008099/0.08343, allocations: 427.3 kB / 406.1 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004226/0.08766, allocations: 5.784 MB / 411.9 MB, free: 7.789 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007482/0.08841, allocations: 127.8 kB / 412 MB, free: 7.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.08852, allocations: 71.98 kB / 412.1 MB, free: 7.594 MB / 378.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.001087/0.0896, allocations: 0.8486 MB / 413 MB, free: 6.734 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002229/0.08983, allocations: 206.7 kB / 413.2 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002738/0.09256, allocations: 2.487 MB / 415.7 MB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/0.09259, allocations: 16 kB / 415.7 MB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.09259, allocations: 4 kB / 415.7 MB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.0926, allocations: 7.969 kB / 415.7 MB, free: 3.996 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005259/0.09786, allocations: 4.857 MB / 420.5 MB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.09787, allocations: 0 / 420.5 MB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005967/0.09847, allocations: 279.5 kB / 420.8 MB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007417/0.09921, allocations: 0.4977 MB / 421.3 MB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.593e-05/0.09928, allocations: 35.98 kB / 421.3 MB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004681/0.104, allocations: 7.23 MB / 428.6 MB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.104, allocations: 0 / 428.6 MB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003681/0.1076, allocations: 3.737 MB / 432.3 MB, free: 2.883 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005841/0.1082, allocations: 394.5 kB / 432.7 MB, free: 2.496 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/0.1084, allocations: 35.98 kB / 432.7 MB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005611/0.1089, allocations: 103.9 kB / 432.8 MB, free: 2.359 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/0.1091, allocations: 121 kB / 433 MB, free: 2.238 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-05/0.1092, allocations: 47.98 kB / 433 MB, free: 2.191 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001286/0.1105, allocations: 1.239 MB / 434.2 MB, free: 0.9609 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1105, allocations: 0 / 434.2 MB, free: 0.9609 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001412/0.1119, allocations: 0.5858 MB / 434.8 MB, free: 384 kB / 394.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%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003456/0.1122, allocations: 226.1 kB / 435 MB, free: 152 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00269/0.1149, allocations: 2.455 MB / 437.5 MB, free: 13.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1149, allocations: 0 / 437.5 MB, free: 13.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001481/0.1164, allocations: 1.537 MB / 439 MB, free: 12.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.1175, allocations: 430.9 kB / 439.5 MB, free: 11.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005592/0.1231, allocations: 5.539 MB / 445 MB, free: 6.059 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/0.1242, allocations: 1.549 MB / 446.5 MB, free: 4.477 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003399/0.1246, allocations: 148.5 kB / 446.7 MB, free: 4.332 MB / 410.7 MB Notification: Performance of SimCode: time 1.282e-06/0.1246, allocations: 0 / 446.7 MB, free: 4.332 MB / 410.7 MB Notification: Performance of Templates: time 0.1738/0.2983, allocations: 75.78 MB / 0.5102 GB, free: 49.61 MB / 410.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.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.561586746945977]