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.0007425/0.0007425, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001109/0.001852, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0009603/0.0009603, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001359/0.00232, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.8274/0.8274, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1597/0.9871, allocations: 52.48 MB / 238.5 MB, free: 7.633 MB / 234.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.",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.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 239.7 MB, free: 6.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032e-05/1.204e-05, allocations: 5.828 kB / 239.8 MB, free: 6.352 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01068/0.0107, allocations: 9.96 MB / 249.7 MB, free: 12.37 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005986/0.01668, allocations: 3.299 MB / 253 MB, free: 9.078 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.01791, allocations: 76.5 kB / 253.1 MB, free: 9.004 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001445/0.01935, allocations: 0.7091 MB / 253.8 MB, free: 8.293 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002269/0.02162, allocations: 0.9235 MB / 254.7 MB, free: 7.363 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007155/0.02234, allocations: 403.3 kB / 255.1 MB, free: 6.969 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002605/0.02494, allocations: 3.073 MB / 258.2 MB, free: 3.883 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001334/0.02628, allocations: 1.388 MB / 259.6 MB, free: 2.406 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002967/0.02924, allocations: 2.433 MB / 262 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001685/0.03093, allocations: 1.535 MB / 263.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004866/0.03142, allocations: 344 kB / 263.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007987/0.03221, allocations: 435.9 kB / 264.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006124/0.03283, allocations: 0.8416 MB / 265.1 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009887/0.03382, allocations: 0.8929 MB / 266 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002247/0.03606, allocations: 2.414 MB / 268.5 MB, free: 9.492 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.372e-05/0.03608, allocations: 3.984 kB / 268.5 MB, free: 9.488 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.03608, allocations: 0 / 268.5 MB, free: 9.488 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001096/0.03619, allocations: 0 / 268.5 MB, free: 9.488 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.003832/0.04002, allocations: 3.567 MB / 272 MB, free: 5.875 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.04006, allocations: 19.98 kB / 272 MB, free: 5.855 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007087/0.04076, allocations: 493.7 kB / 272.5 MB, free: 5.355 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001535/0.0423, allocations: 1.189 MB / 273.7 MB, free: 4.113 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-05/0.04239, allocations: 177 kB / 273.9 MB, free: 3.938 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002196/0.04261, allocations: 236.3 kB / 274.1 MB, free: 3.707 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/0.04454, allocations: 1.803 MB / 275.9 MB, free: 1.789 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.285e-05/0.04458, allocations: 3.938 kB / 275.9 MB, free: 1.785 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.04471, allocations: 99.98 kB / 276 MB, free: 1.688 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.143e-05/0.04479, allocations: 108.6 kB / 276.1 MB, free: 1.578 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.04579, allocations: 0.6919 MB / 276.8 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006661/0.05245, allocations: 6.221 MB / 283 MB, free: 10.36 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008969/0.05335, allocations: 0.7597 MB / 283.8 MB, free: 9.59 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005604/0.05391, allocations: 475.2 kB / 284.3 MB, free: 9.125 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001658/0.05408, allocations: 52.97 kB / 284.3 MB, free: 9.074 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.05411, allocations: 51.56 kB / 284.4 MB, free: 9.016 MB / 282.7 MB Notification: Performance of pre-optimization done (n=116): time 2.956e-06/0.05412, allocations: 0 / 284.4 MB, free: 9.016 MB / 282.7 MB Notification: Performance of matching and sorting (n=131): time 0.004525/0.05864, allocations: 2.662 MB / 287 MB, free: 6.316 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.05868, allocations: 68.7 kB / 287.1 MB, free: 6.238 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008415/0.05952, allocations: 1.138 MB / 288.2 MB, free: 5.09 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.056e-05/0.05958, allocations: 45.7 kB / 288.3 MB, free: 5.039 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003953/0.05998, allocations: 0.9649 MB / 289.2 MB, free: 4.062 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002359/0.06021, allocations: 471.8 kB / 289.7 MB, free: 3.598 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002592/0.06047, allocations: 271.3 kB / 290 MB, free: 3.328 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.653e-05/0.06054, allocations: 301.1 kB / 290.3 MB, free: 3.031 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/0.06077, allocations: 182.8 kB / 290.4 MB, free: 2.852 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003777/0.06115, allocations: 0.5607 MB / 291 MB, free: 2.121 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007743/0.06193, allocations: 0.9589 MB / 292 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/0.06193, allocations: 4 kB / 292 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001261/0.06319, allocations: 1.047 MB / 293 MB, free: 15.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.06321, allocations: 11.94 kB / 293 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.06323, allocations: 12 kB / 293 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004725/0.0637, allocations: 248.9 kB / 293.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007504/0.06445, allocations: 375.5 kB / 293.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002836/0.06729, allocations: 4.717 MB / 298.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006953/0.06798, allocations: 55.98 kB / 298.4 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.302e-05/0.06806, allocations: 51.98 kB / 298.5 MB, free: 10.17 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.0005429/0.0686, allocations: 208.2 kB / 298.7 MB, free: 9.953 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000224/0.06882, allocations: 147.8 kB / 298.8 MB, free: 9.809 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.06996, allocations: 0.9024 MB / 299.7 MB, free: 8.883 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/0.06997, allocations: 16.03 kB / 299.7 MB, free: 8.867 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.06997, allocations: 7.984 kB / 299.7 MB, free: 8.859 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.06999, allocations: 7.922 kB / 299.8 MB, free: 8.852 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003135/0.07312, allocations: 2.609 MB / 302.4 MB, free: 6.137 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.07313, allocations: 4 kB / 302.4 MB, free: 6.133 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006276/0.07375, allocations: 292.4 kB / 302.7 MB, free: 5.844 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004037/0.07416, allocations: 238.6 kB / 302.9 MB, free: 5.609 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005101/0.07467, allocations: 259.7 kB / 303.1 MB, free: 5.344 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-05/0.07472, allocations: 31.98 kB / 303.2 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003209/0.07793, allocations: 5.913 MB / 309.1 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.07794, allocations: 4 kB / 309.1 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.07937, allocations: 1.328 MB / 310.4 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/0.07955, allocations: 28 kB / 310.4 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003912/0.07994, allocations: 47.97 kB / 310.5 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/0.08011, allocations: 116.7 kB / 310.6 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.786e-05/0.08016, allocations: 31.98 kB / 310.6 MB, free: 13.38 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005385/0.0807, allocations: 0.5704 MB / 311.2 MB, free: 12.81 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.0807, allocations: 3.938 kB / 311.2 MB, free: 12.81 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001176/0.08188, allocations: 499.9 kB / 311.7 MB, free: 12.32 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002806/0.08216, allocations: 176.1 kB / 311.9 MB, free: 12.14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00135/0.08351, allocations: 1.202 MB / 313.1 MB, free: 10.9 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.656e-05/0.08355, allocations: 35.05 kB / 313.1 MB, free: 10.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009057/0.08446, allocations: 1.022 MB / 314.1 MB, free: 9.793 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/0.08656, allocations: 4.085 MB / 318.2 MB, free: 4.902 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0153/0.1019, allocations: 4.216 MB / 322.4 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006143/0.1025, allocations: 0.578 MB / 323 MB, free: 15.98 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007437/0.1032, allocations: 222.5 kB / 323.2 MB, free: 15.76 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007135/0.1039, allocations: 439.1 kB / 323.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of SimCode: time 1.783e-06/0.1039, allocations: 0 / 323.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of Templates: time 0.1359/0.2398, allocations: 28.31 MB / 352 MB, free: 70.41 MB / 330.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1458369391039014]