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.001809/0.001809, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.002182/0.002182, allocations: 211.4 kB / 24.48 MB, free: 3.938 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.544/1.544, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.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.001541/0.001541, allocations: 47.92 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2373, allocations: 53.37 MB / 432.3 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01231/0.2497, allocations: 9.047 MB / 441.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006577/0.2562, allocations: 3.135 MB / 444.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001711/0.2579, allocations: 75.5 kB / 444.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002196/0.2601, allocations: 0.6898 MB / 445.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003172/0.2633, allocations: 0.8855 MB / 446.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.2644, allocations: 431.4 kB / 446.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004593/0.269, allocations: 2.992 MB / 449.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002537/0.2715, allocations: 1.38 MB / 451 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002564/0.2741, allocations: 1.39 MB / 452.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003241/0.2773, allocations: 1.744 MB / 454.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007148/0.278, allocations: 355.9 kB / 454.5 MB, free: 444 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.2792, allocations: 467.9 kB / 454.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001271/0.2805, allocations: 1.032 MB / 455.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002025/0.2825, allocations: 1.303 MB / 457.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006406/0.2889, allocations: 4.741 MB / 462 MB, free: 8.875 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.2889, allocations: 0 / 462 MB, free: 8.875 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2889, allocations: 4 kB / 462 MB, free: 8.871 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001434/0.2891, allocations: 0 / 462 MB, free: 8.871 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.008774/0.2978, allocations: 3.28 MB / 465.3 MB, free: 5.539 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.2979, allocations: 12.03 kB / 465.3 MB, free: 5.527 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/0.2993, allocations: 382.8 kB / 465.7 MB, free: 5.152 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004287/0.3035, allocations: 1.705 MB / 467.4 MB, free: 3.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002204/0.3038, allocations: 180.8 kB / 467.5 MB, free: 3.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000604/0.3044, allocations: 232 kB / 467.8 MB, free: 3.004 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006528/0.3109, allocations: 3.245 MB / 471 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.398e-05/0.311, allocations: 7.953 kB / 471 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002333/0.3112, allocations: 92 kB / 471.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001342/0.3113, allocations: 108.5 kB / 471.2 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005316/0.3166, allocations: 2.688 MB / 473.9 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01731/0.334, allocations: 8.405 MB / 482.3 MB, free: 4.059 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002698/0.3367, allocations: 1.4 MB / 483.7 MB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001967/0.3386, allocations: 1.039 MB / 484.7 MB, free: 1.629 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002496/0.3389, allocations: 52.95 kB / 484.8 MB, free: 1.574 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.906e-05/0.3389, allocations: 47.56 kB / 484.8 MB, free: 1.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.276e-06/0.3389, allocations: 4 kB / 484.8 MB, free: 1.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.01519/0.3541, allocations: 6.338 MB / 491.2 MB, free: 11.14 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/0.3542, allocations: 64.72 kB / 491.2 MB, free: 11.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002688/0.3569, allocations: 1.619 MB / 492.9 MB, free: 9.438 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001779/0.357, allocations: 45.7 kB / 492.9 MB, free: 9.387 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001094/0.3581, allocations: 1.197 MB / 494.1 MB, free: 8.176 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005124/0.3586, allocations: 476 kB / 494.6 MB, free: 7.707 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005729/0.3592, allocations: 287.5 kB / 494.9 MB, free: 7.418 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002021/0.3594, allocations: 309.1 kB / 495.2 MB, free: 7.113 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/0.3609, allocations: 0.7964 MB / 496 MB, free: 6.316 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001734/0.3626, allocations: 1.197 MB / 497.1 MB, free: 4.949 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003182/0.3658, allocations: 2.098 MB / 499.2 MB, free: 2.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.3658, allocations: 4 kB / 499.3 MB, free: 2.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005562/0.3714, allocations: 2.588 MB / 0.4901 GB, free: 68 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.319e-05/0.3714, allocations: 8 kB / 0.4901 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.281e-05/0.3714, allocations: 12 kB / 0.4901 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001537/0.373, allocations: 426.4 kB / 0.4905 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002185/0.3752, allocations: 359.4 kB / 0.4908 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0101/0.3853, allocations: 6.654 MB / 0.4973 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002164/0.3874, allocations: 111.9 kB / 0.4974 GB, free: 8.207 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002315/0.3877, allocations: 64.08 kB / 0.4975 GB, free: 8.145 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.002003/0.3897, allocations: 0.8016 MB / 0.4983 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006288/0.3903, allocations: 182.9 kB / 0.4985 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006273/0.3966, allocations: 2.276 MB / 0.5007 GB, free: 4.852 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/0.3966, allocations: 15.94 kB / 0.5007 GB, free: 4.836 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/0.3966, allocations: 7.984 kB / 0.5007 GB, free: 4.828 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.83e-05/0.3966, allocations: 3.984 kB / 0.5007 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/0.4095, allocations: 4.439 MB / 0.5051 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.4096, allocations: 0 / 0.5051 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001637/0.4112, allocations: 243.6 kB / 0.5053 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00187/0.4131, allocations: 454.3 kB / 0.5057 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001651/0.4132, allocations: 35.98 kB / 0.5058 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01014/0.4234, allocations: 8.081 MB / 0.5136 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.4234, allocations: 4 kB / 0.5136 GB, free: 7.066 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006111/0.4295, allocations: 3.431 MB / 0.517 GB, free: 3.562 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001155/0.4306, allocations: 350.7 kB / 0.5173 GB, free: 3.219 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002476/0.4309, allocations: 39.98 kB / 0.5174 GB, free: 3.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009418/0.4318, allocations: 79.91 kB / 0.5174 GB, free: 3.102 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003027/0.4321, allocations: 124.7 kB / 0.5176 GB, free: 2.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.56e-05/0.4322, allocations: 39.98 kB / 0.5176 GB, free: 2.941 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001717/0.4339, allocations: 1.094 MB / 0.5187 GB, free: 1.852 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4339, allocations: 0 / 0.5187 GB, free: 1.852 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001665/0.4356, allocations: 0.5038 MB / 0.5192 GB, free: 1.348 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.0003833/0.436, allocations: 198.9 kB / 0.5194 GB, free: 1.145 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004037/0.44, allocations: 2.315 MB / 0.5216 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.44, allocations: 0 / 0.5216 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002635/0.4427, allocations: 1.556 MB / 0.5231 GB, free: 13.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001978/0.4446, allocations: 421.8 kB / 0.5235 GB, free: 12.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008414/0.4531, allocations: 5.119 MB / 0.5285 GB, free: 7.566 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001733/0.4548, allocations: 1.399 MB / 0.5299 GB, free: 6.133 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005565/0.4553, allocations: 139.3 kB / 0.53 GB, free: 5.996 MB / 446.1 MB Notification: Performance of SimCode: time 1.322e-06/0.4553, allocations: 0 / 0.53 GB, free: 5.996 MB / 446.1 MB Notification: Performance of Templates: time 0.2411/0.6964, allocations: 79.86 MB / 0.608 GB, free: 34.99 MB / 446.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 -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: 12.795152848993894]