Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.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.001726/0.001726, allocations: 82.67 kB / 20.68 MB, free: 1.023 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.002076/0.002076, allocations: 163.3 kB / 23.95 MB, free: 4.156 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.473/1.473, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.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.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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.396e-06/3.396e-06, allocations: 0 / 325.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.097e-05/5.436e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01488/0.01494, allocations: 10.44 MB / 335.5 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009997/0.02493, allocations: 3.78 MB / 339.3 MB, free: 6.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002859/0.02779, allocations: 79.25 kB / 339.4 MB, free: 6.238 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003172/0.03096, allocations: 0.8474 MB / 340.2 MB, free: 5.613 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004717/0.03568, allocations: 1.072 MB / 341.3 MB, free: 4.703 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001853/0.03754, allocations: 0.5375 MB / 341.8 MB, free: 4.234 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006206/0.04374, allocations: 3.597 MB / 345.4 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002963/0.0467, allocations: 1.487 MB / 346.9 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004187/0.05089, allocations: 2.3 MB / 349.2 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002982/0.05387, allocations: 1.687 MB / 350.9 MB, free: 11.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006629/0.05454, allocations: 408 kB / 351.3 MB, free: 10.79 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.05594, allocations: 0.6283 MB / 351.9 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00129/0.05723, allocations: 1.192 MB / 353.1 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001906/0.05913, allocations: 1.271 MB / 354.4 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007244/0.06638, allocations: 5.457 MB / 359.9 MB, free: 2.215 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.06638, allocations: 0 / 359.9 MB, free: 2.215 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.06638, allocations: 0 / 359.9 MB, free: 2.215 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001852/0.06657, allocations: 0 / 359.9 MB, free: 2.215 MB / 318.1 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.009322/0.07589, allocations: 3.71 MB / 363.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.07594, allocations: 12.03 kB / 363.6 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001891/0.07783, allocations: 482.5 kB / 364 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0041/0.08193, allocations: 1.913 MB / 366 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000184/0.08212, allocations: 205.8 kB / 366.2 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005674/0.08268, allocations: 280 kB / 366.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007615/0.0903, allocations: 3.646 MB / 370.1 MB, free: 7.777 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-05/0.09037, allocations: 0 / 370.1 MB, free: 7.777 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002821/0.09065, allocations: 112 kB / 370.2 MB, free: 7.668 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001626/0.09081, allocations: 121.2 kB / 370.3 MB, free: 7.547 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006428/0.09724, allocations: 2.968 MB / 373.3 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01974/0.117, allocations: 9.56 MB / 382.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002808/0.1198, allocations: 1.504 MB / 384.3 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002153/0.1219, allocations: 1.098 MB / 385.4 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002458/0.1222, allocations: 57.27 kB / 385.5 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.276e-05/0.1222, allocations: 43.88 kB / 385.5 MB, free: 7.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=131): time 3.867e-06/0.1222, allocations: 0 / 385.5 MB, free: 7.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=148): time 0.01775/0.14, allocations: 7.09 MB / 392.6 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.14, allocations: 64.72 kB / 392.7 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003209/0.1433, allocations: 1.835 MB / 394.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000179/0.1434, allocations: 49.7 kB / 394.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001078/0.1445, allocations: 1.357 MB / 395.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000511/0.145, allocations: 0.519 MB / 396.4 MB, free: 13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006093/0.1456, allocations: 331.3 kB / 396.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1458, allocations: 317 kB / 397.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/0.1474, allocations: 0.8862 MB / 398 MB, free: 11.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001931/0.1493, allocations: 1.368 MB / 399.3 MB, free: 9.898 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003682/0.153, allocations: 2.381 MB / 401.7 MB, free: 7.312 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/0.153, allocations: 4 kB / 401.7 MB, free: 7.309 MB / 366.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005669/0.1587, allocations: 2.888 MB / 404.6 MB, free: 4.402 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/0.1587, allocations: 12 kB / 404.6 MB, free: 4.391 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.498e-05/0.1587, allocations: 12.38 kB / 404.6 MB, free: 4.379 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001242/0.16, allocations: 470.1 kB / 405.1 MB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/0.1618, allocations: 435.3 kB / 405.5 MB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007908/0.1697, allocations: 5.779 MB / 411.3 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002135/0.1718, allocations: 127.7 kB / 411.4 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002148/0.172, allocations: 72.08 kB / 411.5 MB, free: 13.31 MB / 382.1 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 (199): * Single equations (assignments): 194 * 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.002011/0.174, allocations: 0.8671 MB / 412.4 MB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005544/0.1746, allocations: 202.7 kB / 412.6 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005097/0.1797, allocations: 2.495 MB / 415.1 MB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.67e-05/0.1797, allocations: 16 kB / 415.1 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.1797, allocations: 7.938 kB / 415.1 MB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-05/0.1797, allocations: 7.969 kB / 415.1 MB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01045/0.1902, allocations: 4.854 MB / 419.9 MB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.1902, allocations: 4 kB / 419.9 MB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/0.1915, allocations: 279.6 kB / 420.2 MB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001616/0.1931, allocations: 0.4937 MB / 420.7 MB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001251/0.1932, allocations: 39.97 kB / 420.7 MB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009913/0.2031, allocations: 7.238 MB / 428 MB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.2031, allocations: 7.938 kB / 428 MB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007489/0.2106, allocations: 3.737 MB / 431.7 MB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001365/0.212, allocations: 398.5 kB / 432.1 MB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003052/0.2123, allocations: 39.98 kB / 432.2 MB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.2135, allocations: 95.89 kB / 432.2 MB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003342/0.2138, allocations: 121 kB / 432.4 MB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/0.2139, allocations: 47.98 kB / 432.4 MB, free: 7.875 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002044/0.216, allocations: 1.239 MB / 433.7 MB, free: 6.645 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.216, allocations: 0 / 433.7 MB, free: 6.645 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002116/0.2181, allocations: 0.5897 MB / 434.2 MB, free: 6.055 MB / 398.1 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 (125): * Single equations (assignments): 120 * 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.0006314/0.2187, allocations: 221.9 kB / 434.5 MB, free: 5.832 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00474/0.2235, allocations: 2.45 MB / 436.9 MB, free: 3.355 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.2235, allocations: 1 kB / 436.9 MB, free: 3.355 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002958/0.2264, allocations: 1.541 MB / 438.5 MB, free: 1.777 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/0.229, allocations: 428.3 kB / 438.9 MB, free: 1.363 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.2397, allocations: 5.505 MB / 444.4 MB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002107/0.2418, allocations: 1.58 MB / 446 MB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002058/0.2439, allocations: 455.5 kB / 446.4 MB, free: 9.719 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007246/0.2446, allocations: 132.5 kB / 446.5 MB, free: 9.59 MB / 414.1 MB Notification: Performance of SimCode: time 8.92e-07/0.2446, allocations: 0 / 446.5 MB, free: 9.59 MB / 414.1 MB Notification: Performance of Templates: time 0.2254/0.47, allocations: 29.53 MB / 476.1 MB, free: 126.2 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 6.110456351190805]