Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_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.001739/0.001739, allocations: 71.59 kB / 21.24 MB, free: 0.5469 MB / 14.72 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.001938/0.001938, allocations: 149.1 kB / 24.48 MB, free: 3.73 MB / 14.72 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 1.43/1.43, allocations: 173.4 MB / 201.1 MB, free: 12.71 MB / 190.1 MB " [Timeout remaining time 178] 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.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 47.27 kB / 319.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0867/0.08825, allocations: 52.16 MB / 371.6 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01205/0.1003, allocations: 9.027 MB / 380.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005583/0.1059, allocations: 3.042 MB / 383.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007181/0.1066, allocations: 71.5 kB / 383.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001511/0.1081, allocations: 0.6908 MB / 384.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001976/0.1101, allocations: 0.8894 MB / 385.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007691/0.1109, allocations: 407.4 kB / 385.7 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003233/0.1141, allocations: 2.976 MB / 388.7 MB, free: 6.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001923/0.116, allocations: 1.329 MB / 390 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001756/0.1178, allocations: 1.386 MB / 391.4 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002393/0.1202, allocations: 1.654 MB / 393 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004997/0.1207, allocations: 356 kB / 393.4 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008295/0.1215, allocations: 447.8 kB / 393.8 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001223/0.1227, allocations: 1.036 MB / 394.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001594/0.1243, allocations: 1.291 MB / 396.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004917/0.1292, allocations: 4.722 MB / 400.9 MB, free: 9.879 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1292, allocations: 0 / 400.9 MB, free: 9.879 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1292, allocations: 4 kB / 400.9 MB, free: 9.875 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6e-05/0.1293, allocations: 0 / 400.9 MB, free: 9.875 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.006565/0.1359, allocations: 3.264 MB / 404.1 MB, free: 6.559 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.1359, allocations: 8.922 kB / 404.2 MB, free: 6.551 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008095/0.1367, allocations: 350.9 kB / 404.5 MB, free: 6.207 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003421/0.1401, allocations: 1.685 MB / 406.2 MB, free: 4.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001688/0.1403, allocations: 184.8 kB / 406.4 MB, free: 4.297 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003667/0.1407, allocations: 232 kB / 406.6 MB, free: 4.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005494/0.1462, allocations: 3.237 MB / 409.8 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.331e-05/0.1462, allocations: 7.953 kB / 409.8 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002271/0.1464, allocations: 100 kB / 409.9 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001213/0.1466, allocations: 112.5 kB / 410 MB, free: 0.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00487/0.1514, allocations: 2.684 MB / 412.7 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01508/0.1665, allocations: 8.401 MB / 421.1 MB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002597/0.1691, allocations: 1.407 MB / 422.5 MB, free: 3.723 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002028/0.1711, allocations: 1.042 MB / 423.6 MB, free: 2.684 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002393/0.1714, allocations: 48.97 kB / 423.6 MB, free: 2.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.121e-05/0.1714, allocations: 47.5 kB / 423.7 MB, free: 2.578 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.597e-06/0.1714, allocations: 0 / 423.7 MB, free: 2.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.015/0.1864, allocations: 6.333 MB / 430 MB, free: 12.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/0.1865, allocations: 64.72 kB / 430.1 MB, free: 12.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002874/0.1894, allocations: 1.603 MB / 431.7 MB, free: 10.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.649e-05/0.1895, allocations: 49.7 kB / 431.7 MB, free: 10.47 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001013/0.1905, allocations: 1.189 MB / 432.9 MB, free: 9.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000407/0.1909, allocations: 471.9 kB / 433.4 MB, free: 8.805 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004769/0.1914, allocations: 287.5 kB / 433.6 MB, free: 8.516 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1915, allocations: 305.1 kB / 433.9 MB, free: 8.215 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/0.1929, allocations: 0.8003 MB / 434.7 MB, free: 7.414 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001749/0.1946, allocations: 1.209 MB / 436 MB, free: 6.039 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003298/0.1979, allocations: 2.098 MB / 438.1 MB, free: 3.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/0.1979, allocations: 4 kB / 438.1 MB, free: 3.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004976/0.2029, allocations: 2.581 MB / 440.6 MB, free: 1.164 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.2029, allocations: 12.06 kB / 440.6 MB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.477e-05/0.203, allocations: 12 kB / 440.7 MB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.204, allocations: 415.1 kB / 441.1 MB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/0.2055, allocations: 375.4 kB / 441.4 MB, free: 364 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00787/0.2134, allocations: 6.636 MB / 448.1 MB, free: 9.418 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.2146, allocations: 107.9 kB / 448.2 MB, free: 9.312 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/0.2148, allocations: 63.98 kB / 448.2 MB, free: 9.25 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001383/0.2161, allocations: 0.7977 MB / 449 MB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003885/0.2165, allocations: 182.8 kB / 449.2 MB, free: 8.262 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004341/0.2209, allocations: 2.287 MB / 451.5 MB, free: 5.945 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.2209, allocations: 12 kB / 451.5 MB, free: 5.934 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.2209, allocations: 4 kB / 451.5 MB, free: 5.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.769e-05/0.2209, allocations: 11.97 kB / 451.5 MB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008851/0.2298, allocations: 4.443 MB / 456 MB, free: 1.375 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.2298, allocations: 0 / 456 MB, free: 1.375 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/0.2308, allocations: 235.6 kB / 456.2 MB, free: 1.145 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001189/0.232, allocations: 458.5 kB / 456.6 MB, free: 0.6875 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/0.2321, allocations: 31.98 kB / 456.7 MB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009341/0.2415, allocations: 8.091 MB / 464.8 MB, free: 8.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/0.2415, allocations: 3.984 kB / 464.8 MB, free: 8.156 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005889/0.2474, allocations: 3.431 MB / 468.2 MB, free: 4.652 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009637/0.2483, allocations: 354.7 kB / 468.6 MB, free: 4.305 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002902/0.2486, allocations: 28 kB / 468.6 MB, free: 4.277 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009886/0.2496, allocations: 91.89 kB / 468.7 MB, free: 4.188 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002829/0.2499, allocations: 124.7 kB / 468.8 MB, free: 4.066 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.57e-05/0.25, allocations: 39.98 kB / 468.8 MB, free: 4.027 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001759/0.2518, allocations: 1.085 MB / 469.9 MB, free: 2.945 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2518, allocations: 0 / 469.9 MB, free: 2.945 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00177/0.2535, allocations: 0.5 MB / 470.4 MB, free: 2.445 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,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.0004011/0.2539, allocations: 194.9 kB / 470.6 MB, free: 2.246 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.1689/0.4228, allocations: 2.319 MB / 472.9 MB, free: 91.53 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/0.4228, allocations: 1.406 kB / 472.9 MB, free: 91.53 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002674/0.4255, allocations: 1.549 MB / 474.5 MB, free: 91.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001977/0.4275, allocations: 413.2 kB / 474.9 MB, free: 91.07 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007317/0.4348, allocations: 5.074 MB / 480 MB, free: 89.29 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001598/0.4364, allocations: 1.434 MB / 481.4 MB, free: 89.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0012/0.4376, allocations: 427 kB / 481.8 MB, free: 89.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003534/0.438, allocations: 127.8 kB / 481.9 MB, free: 89 MB / 430.1 MB Notification: Performance of SimCode: time 8.32e-07/0.438, allocations: 1.062 kB / 481.9 MB, free: 89 MB / 430.1 MB Notification: Performance of Templates: time 0.03539/0.4733, allocations: 26.88 MB / 0.4969 GB, free: 68.5 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_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: 5.422685598954558]