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.0009386/0.0009386, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 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.00106/0.00106, allocations: 161.4 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9989/0.9989, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.",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.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.942e-05/3.107e-05, allocations: 2.312 kB / 273 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.02186/0.02189, allocations: 10.17 MB / 283.2 MB, free: 7.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00589/0.02778, allocations: 3.264 MB / 286.4 MB, free: 4.047 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/0.02913, allocations: 79.44 kB / 286.5 MB, free: 3.969 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001406/0.03054, allocations: 0.6985 MB / 287.2 MB, free: 3.266 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002186/0.03272, allocations: 0.912 MB / 288.1 MB, free: 2.348 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009009/0.03362, allocations: 431.2 kB / 288.5 MB, free: 1.926 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1501/0.1837, allocations: 3.079 MB / 291.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00208/0.1858, allocations: 1.336 MB / 292.9 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002989/0.1888, allocations: 2.036 MB / 295 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003021/0.1918, allocations: 1.614 MB / 296.6 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001223/0.193, allocations: 353.9 kB / 296.9 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/0.1942, allocations: 467.3 kB / 297.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009388/0.1951, allocations: 1.071 MB / 298.5 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002166/0.1973, allocations: 1.114 MB / 299.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003468/0.2007, allocations: 2.653 MB / 302.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.2007, allocations: 0 / 302.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.2007, allocations: 0 / 302.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.474e-05/0.2008, allocations: 0 / 302.2 MB, free: 13.9 MB / 266.7 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.004845/0.2057, allocations: 3.46 MB / 305.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.2057, allocations: 9.641 kB / 305.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00092/0.2066, allocations: 0.5593 MB / 306.3 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001946/0.2086, allocations: 1.626 MB / 307.9 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.213e-05/0.2087, allocations: 180.2 kB / 308.1 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002488/0.2089, allocations: 232.7 kB / 308.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002419/0.2113, allocations: 1.912 MB / 310.2 MB, free: 9.762 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.735e-05/0.2114, allocations: 18.89 kB / 310.2 MB, free: 9.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001439/0.2115, allocations: 93.78 kB / 310.3 MB, free: 9.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.564e-05/0.2116, allocations: 111 kB / 310.4 MB, free: 9.656 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001571/0.2132, allocations: 0.8751 MB / 311.3 MB, free: 9.336 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00733/0.2205, allocations: 8.007 MB / 319.3 MB, free: 1.324 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.2216, allocations: 0.7826 MB / 320.1 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007534/0.2224, allocations: 0.5393 MB / 320.6 MB, free: 28 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002231/0.2226, allocations: 60.64 kB / 320.7 MB, free: 15.97 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.2226, allocations: 54.25 kB / 320.7 MB, free: 15.91 MB / 282.7 MB Notification: Performance of pre-optimization done (n=116): time 4.348e-06/0.2226, allocations: 0 / 320.7 MB, free: 15.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=131): time 0.006057/0.2287, allocations: 3.388 MB / 324.1 MB, free: 12.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.893e-05/0.2287, allocations: 68.72 kB / 324.2 MB, free: 12.43 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001528/0.2303, allocations: 1.42 MB / 325.6 MB, free: 10.99 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.627e-05/0.2303, allocations: 45.7 kB / 325.7 MB, free: 10.94 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007634/0.2311, allocations: 1.281 MB / 326.9 MB, free: 9.648 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002893/0.2314, allocations: 489.5 kB / 327.4 MB, free: 9.176 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003151/0.2317, allocations: 293.1 kB / 327.7 MB, free: 8.879 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.2318, allocations: 476.8 kB / 328.2 MB, free: 8.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004514/0.2323, allocations: 247.8 kB / 328.4 MB, free: 8.168 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006929/0.233, allocations: 0.8112 MB / 329.2 MB, free: 7.137 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/0.2344, allocations: 1.177 MB / 330.4 MB, free: 5.781 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.2344, allocations: 4 kB / 330.4 MB, free: 5.777 MB / 282.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002102/0.2365, allocations: 1.428 MB / 331.8 MB, free: 4.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.2365, allocations: 19.97 kB / 331.8 MB, free: 4.391 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/0.2365, allocations: 15.98 kB / 331.9 MB, free: 4.375 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006254/0.2372, allocations: 245.5 kB / 332.1 MB, free: 4.125 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007505/0.2379, allocations: 356.6 kB / 332.4 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004475/0.2424, allocations: 6.617 MB / 339.1 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.2434, allocations: 99.89 kB / 339.2 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.071e-05/0.2435, allocations: 63.98 kB / 339.2 MB, free: 12.7 MB / 298.7 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.0008235/0.2443, allocations: 254.1 kB / 339.5 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003034/0.2446, allocations: 234.7 kB / 339.7 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001724/0.2464, allocations: 1.176 MB / 340.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.2464, allocations: 12 kB / 340.9 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.2464, allocations: 4 kB / 340.9 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.2464, allocations: 3.984 kB / 340.9 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004708/0.2511, allocations: 3.325 MB / 344.2 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.2511, allocations: 4.406 kB / 344.2 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005651/0.2517, allocations: 240.7 kB / 344.5 MB, free: 7.406 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009567/0.2526, allocations: 291.9 kB / 344.7 MB, free: 7.105 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.309e-05/0.2527, allocations: 35.98 kB / 344.8 MB, free: 7.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00507/0.2578, allocations: 8.421 MB / 353.2 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.2578, allocations: 4 kB / 353.2 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002621/0.2604, allocations: 1.716 MB / 354.9 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006535/0.2611, allocations: 330.7 kB / 355.2 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.2612, allocations: 31.98 kB / 355.3 MB, free: 12.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004844/0.2617, allocations: 83.92 kB / 355.4 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002185/0.2619, allocations: 124.3 kB / 355.5 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.383e-05/0.262, allocations: 36 kB / 355.5 MB, free: 11.82 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001019/0.263, allocations: 0.8202 MB / 356.3 MB, free: 11.01 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.263, allocations: 3.938 kB / 356.3 MB, free: 11 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001642/0.2646, allocations: 0.5038 MB / 356.8 MB, free: 10.5 MB / 314.7 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.000409/0.265, allocations: 211.9 kB / 357 MB, free: 10.3 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001983/0.267, allocations: 1.538 MB / 358.6 MB, free: 8.758 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.267, allocations: 4 kB / 358.6 MB, free: 8.754 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001385/0.2684, allocations: 1.297 MB / 359.9 MB, free: 7.41 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.2697, allocations: 441.5 kB / 360.3 MB, free: 6.996 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00627/0.276, allocations: 4.26 MB / 364.6 MB, free: 2.652 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005784/0.2766, allocations: 0.656 MB / 365.2 MB, free: 1.969 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000701/0.2773, allocations: 346.3 kB / 365.6 MB, free: 1.625 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002782/0.2775, allocations: 124.5 kB / 365.7 MB, free: 1.504 MB / 314.7 MB Notification: Performance of SimCode: time 1.442e-06/0.2775, allocations: 0 / 365.7 MB, free: 1.504 MB / 314.7 MB Notification: Performance of Templates: time 0.03786/0.3154, allocations: 26.99 MB / 392.7 MB, free: 6.941 MB / 346.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_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.725189838092774]