Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_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.001327/0.001327, allocations: 73.72 kB / 21.24 MB, free: 0.5547 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.001502/0.001502, allocations: 160.8 kB / 24.5 MB, free: 3.715 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.471/1.471, allocations: 177.2 MB / 204.9 MB, free: 8.988 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.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.1.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.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 59.62 kB / 325.6 MB, free: 244 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09784/0.09946, allocations: 53.34 MB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01203/0.1115, allocations: 9.06 MB / 388 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006187/0.1177, allocations: 3.132 MB / 391.1 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.1188, allocations: 79.5 kB / 391.2 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001649/0.1205, allocations: 0.6906 MB / 391.9 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002277/0.1228, allocations: 0.8933 MB / 392.8 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008828/0.1237, allocations: 423.4 kB / 393.2 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003497/0.1271, allocations: 2.992 MB / 396.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001891/0.129, allocations: 1.329 MB / 397.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001806/0.1308, allocations: 1.39 MB / 398.9 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002504/0.1334, allocations: 1.662 MB / 400.6 MB, free: 9.852 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006102/0.134, allocations: 352 kB / 400.9 MB, free: 9.508 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009009/0.1349, allocations: 467.8 kB / 401.4 MB, free: 9.051 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001339/0.1362, allocations: 1.032 MB / 402.4 MB, free: 8.016 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001723/0.1379, allocations: 1.303 MB / 403.7 MB, free: 6.707 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005347/0.1433, allocations: 4.737 MB / 408.4 MB, free: 1.953 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/0.1433, allocations: 0 / 408.4 MB, free: 1.953 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.347e-06/0.1433, allocations: 7.984 kB / 408.4 MB, free: 1.945 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.748e-05/0.1433, allocations: 4 kB / 408.4 MB, free: 1.941 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.00653/0.1499, allocations: 3.272 MB / 411.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1499, allocations: 8.031 kB / 411.7 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.151, allocations: 382.8 kB / 412.1 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003444/0.1545, allocations: 1.713 MB / 413.8 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001687/0.1546, allocations: 176.8 kB / 414 MB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003933/0.155, allocations: 228 kB / 414.2 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00534/0.1604, allocations: 3.241 MB / 417.4 MB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.557e-05/0.1604, allocations: 15.95 kB / 417.5 MB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002255/0.1607, allocations: 92 kB / 417.5 MB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001186/0.1608, allocations: 104.6 kB / 417.6 MB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004751/0.1655, allocations: 2.696 MB / 420.3 MB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01439/0.1799, allocations: 8.398 MB / 428.7 MB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002572/0.1825, allocations: 1.412 MB / 430.2 MB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001988/0.1845, allocations: 1.043 MB / 431.2 MB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002276/0.1847, allocations: 48.95 kB / 431.2 MB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.1847, allocations: 43.56 kB / 431.3 MB, free: 10.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=116): time 3.016e-06/0.1848, allocations: 0 / 431.3 MB, free: 10.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=131): time 0.01442/0.1992, allocations: 6.34 MB / 437.6 MB, free: 4.211 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.1992, allocations: 68.66 kB / 437.7 MB, free: 4.133 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002494/0.2017, allocations: 1.623 MB / 439.3 MB, free: 2.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.097e-05/0.2018, allocations: 45.7 kB / 439.4 MB, free: 2.449 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009913/0.2028, allocations: 1.197 MB / 440.6 MB, free: 1.238 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004344/0.2032, allocations: 476 kB / 441 MB, free: 0.7695 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004887/0.2037, allocations: 283.5 kB / 441.3 MB, free: 496 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.2039, allocations: 309 kB / 441.6 MB, free: 184 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/0.2053, allocations: 0.7964 MB / 442.4 MB, free: 15.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001726/0.207, allocations: 1.201 MB / 443.6 MB, free: 14.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003345/0.2103, allocations: 2.098 MB / 445.7 MB, free: 11.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/0.2104, allocations: 4 kB / 445.7 MB, free: 11.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004716/0.2151, allocations: 2.585 MB / 448.3 MB, free: 9.133 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.2151, allocations: 12 kB / 448.3 MB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-05/0.2151, allocations: 12 kB / 448.3 MB, free: 9.109 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/0.2161, allocations: 423.3 kB / 448.7 MB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/0.2175, allocations: 359.4 kB / 449.1 MB, free: 8.332 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01044/0.228, allocations: 6.645 MB / 455.7 MB, free: 1.387 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/0.23, allocations: 115.8 kB / 455.8 MB, free: 1.273 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002672/0.2302, allocations: 63.98 kB / 455.9 MB, free: 1.211 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.002119/0.2324, allocations: 0.8017 MB / 456.7 MB, free: 408 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006227/0.233, allocations: 174.9 kB / 456.9 MB, free: 232 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006454/0.2394, allocations: 2.279 MB / 459.1 MB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-05/0.2395, allocations: 19.98 kB / 459.2 MB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.772e-05/0.2395, allocations: 4 kB / 459.2 MB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.93e-05/0.2395, allocations: 3.984 kB / 459.2 MB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01325/0.2527, allocations: 4.439 MB / 463.6 MB, free: 9.352 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/0.2528, allocations: 4 kB / 463.6 MB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001583/0.2543, allocations: 235.6 kB / 463.8 MB, free: 9.117 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001736/0.2561, allocations: 459.3 kB / 464.3 MB, free: 8.656 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001646/0.2562, allocations: 39.98 kB / 464.3 MB, free: 8.617 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01292/0.2692, allocations: 8.066 MB / 472.4 MB, free: 148 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.2692, allocations: 7.938 kB / 472.4 MB, free: 140 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1925/0.4617, allocations: 3.428 MB / 475.8 MB, free: 82.27 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/0.4628, allocations: 352 kB / 476.2 MB, free: 82.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000205/0.463, allocations: 33.02 kB / 476.2 MB, free: 82.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009111/0.4639, allocations: 91.06 kB / 476.3 MB, free: 82.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003034/0.4642, allocations: 119 kB / 476.4 MB, free: 82.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.82e-05/0.4643, allocations: 40.7 kB / 476.5 MB, free: 82.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001531/0.4658, allocations: 1.097 MB / 477.6 MB, free: 82.06 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4658, allocations: 0 / 477.6 MB, free: 82.06 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001747/0.4676, allocations: 0.5039 MB / 478.1 MB, free: 82.02 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.0003385/0.4679, allocations: 202.2 kB / 478.3 MB, free: 81.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003559/0.4715, allocations: 2.32 MB / 480.6 MB, free: 80.95 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4715, allocations: 1.219 kB / 480.6 MB, free: 80.95 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002282/0.4737, allocations: 1.55 MB / 482.1 MB, free: 80.16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/0.4754, allocations: 424.2 kB / 482.5 MB, free: 80.03 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006624/0.4821, allocations: 5.063 MB / 487.6 MB, free: 77.62 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/0.4833, allocations: 1.442 MB / 489 MB, free: 77.22 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009016/0.4842, allocations: 427.9 kB / 489.5 MB, free: 77.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003432/0.4846, allocations: 124.1 kB / 489.6 MB, free: 77.15 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4846, allocations: 0 / 489.6 MB, free: 77.15 MB / 430.1 MB Notification: Performance of Templates: time 0.03402/0.5186, allocations: 27.03 MB / 0.5045 GB, free: 53.3 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.59191701898817]