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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 111 kB / 17.74 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002396/0.002396, allocations: 192.4 kB / 18.67 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.548/2.548, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0021/0.002101, allocations: 47.92 kB / 352 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5358/0.5379, allocations: 49.44 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.02387/0.5619, allocations: 10.19 MB / 411.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01577/0.5777, allocations: 3.213 MB / 414.8 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003148/0.581, allocations: 59.75 kB / 414.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003639/0.5846, allocations: 0.6986 MB / 415.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004822/0.5895, allocations: 0.8348 MB / 416.4 MB, free: 9.801 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002152/0.5917, allocations: 410.6 kB / 416.8 MB, free: 9.402 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01183/0.6036, allocations: 2.965 MB / 419.8 MB, free: 6.422 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006712/0.6104, allocations: 2.48 MB / 422.3 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004436/0.6149, allocations: 1.355 MB / 423.6 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005475/0.6204, allocations: 1.689 MB / 425.3 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001726/0.6222, allocations: 360 kB / 425.7 MB, free: 480 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007/0.6293, allocations: 451.8 kB / 426.1 MB, free: 28 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003324/0.6327, allocations: 1.009 MB / 427.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00591/0.6386, allocations: 1.61 MB / 428.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0159/0.6546, allocations: 4.67 MB / 433.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.073e-05/0.6547, allocations: 0 / 433.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.6547, allocations: 0 / 433.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002017/0.6549, allocations: 0 / 433.4 MB, free: 8.715 MB / 350.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.01995/0.6749, allocations: 3.272 MB / 436.7 MB, free: 5.375 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.441e-05/0.675, allocations: 16.03 kB / 436.7 MB, free: 5.359 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002296/0.6774, allocations: 325.2 kB / 437 MB, free: 5.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007143/0.6845, allocations: 1.744 MB / 438.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003844/0.685, allocations: 184.8 kB / 438.9 MB, free: 3.055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001293/0.6863, allocations: 235.8 kB / 439.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01342/0.6997, allocations: 3.137 MB / 442.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002054/0.7, allocations: 7.906 kB / 442.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00105/0.7011, allocations: 96 kB / 442.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000258/0.7014, allocations: 108.6 kB / 442.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01075/0.7122, allocations: 2.7 MB / 445.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03384/0.7461, allocations: 9.622 MB / 454.8 MB, free: 2.758 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005215/0.7514, allocations: 2.169 MB / 457 MB, free: 432 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00379/0.7552, allocations: 1.117 MB / 458.1 MB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006035/0.7559, allocations: 203.2 kB / 458.3 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.853e-05/0.756, allocations: 51.5 kB / 458.4 MB, free: 15.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 8.736e-06/0.756, allocations: 0 / 458.4 MB, free: 15.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.02862/0.7847, allocations: 6.835 MB / 465.2 MB, free: 8.012 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.89e-05/0.7848, allocations: 68.72 kB / 465.3 MB, free: 7.934 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005885/0.7907, allocations: 1.743 MB / 467 MB, free: 6.188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000459/0.7913, allocations: 53.7 kB / 467 MB, free: 6.129 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001739/0.793, allocations: 1.14 MB / 468.2 MB, free: 4.973 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001028/0.7941, allocations: 473.2 kB / 468.6 MB, free: 4.504 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001315/0.7954, allocations: 279.4 kB / 468.9 MB, free: 4.223 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.7956, allocations: 305.1 kB / 469.2 MB, free: 3.922 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002594/0.7983, allocations: 0.7925 MB / 470 MB, free: 3.129 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003365/0.8017, allocations: 1.201 MB / 471.2 MB, free: 1.754 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005482/0.8072, allocations: 2.098 MB / 473.3 MB, free: 15.49 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-05/0.8073, allocations: 8 kB / 473.3 MB, free: 15.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00984/0.8172, allocations: 2.671 MB / 476 MB, free: 12.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.146e-05/0.8173, allocations: 16.03 kB / 476 MB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.087e-05/0.8174, allocations: 12 kB / 476 MB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001893/0.8193, allocations: 427 kB / 476.4 MB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002884/0.8222, allocations: 355.4 kB / 476.8 MB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01196/0.8342, allocations: 7.076 MB / 483.9 MB, free: 4.477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002755/0.837, allocations: 111.8 kB / 484 MB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004775/0.8375, allocations: 67.98 kB / 484 MB, free: 4.301 MB / 398.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.003266/0.8408, allocations: 0.7917 MB / 484.8 MB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001064/0.8419, allocations: 185.8 kB / 485 MB, free: 3.316 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008256/0.8502, allocations: 2.371 MB / 487.4 MB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.495e-05/0.8503, allocations: 19.94 kB / 487.4 MB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.242e-05/0.8503, allocations: 4 kB / 487.4 MB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.552e-05/0.8504, allocations: 7.969 kB / 487.4 MB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01758/0.868, allocations: 5.104 MB / 492.5 MB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.018e-05/0.8681, allocations: 7.984 kB / 492.5 MB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001903/0.87, allocations: 231.7 kB / 492.7 MB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002339/0.8724, allocations: 455.5 kB / 493.2 MB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002987/0.8727, allocations: 31.98 kB / 493.2 MB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01437/0.8871, allocations: 8.639 MB / 0.4901 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-05/0.8872, allocations: 4 kB / 0.4901 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009726/0.8969, allocations: 3.513 MB / 0.4935 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001811/0.8988, allocations: 434.7 kB / 0.4939 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000903/0.8997, allocations: 35.92 kB / 0.494 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002176/0.902, allocations: 87.91 kB / 0.4941 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005967/0.9026, allocations: 120.7 kB / 0.4942 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002204/0.9029, allocations: 36 kB / 0.4942 GB, free: 13.37 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004266/0.9071, allocations: 1.198 MB / 0.4954 GB, free: 12.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.82e-07/0.9072, allocations: 8 kB / 0.4954 GB, free: 12.17 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004097/0.9113, allocations: 0.5038 MB / 0.4959 GB, free: 11.66 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.0009133/0.9123, allocations: 207.2 kB / 0.4961 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00796/0.9203, allocations: 2.477 MB / 0.4985 GB, free: 8.914 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-05/0.9203, allocations: 0 / 0.4985 GB, free: 8.914 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004965/0.9253, allocations: 1.606 MB / 0.5001 GB, free: 7.262 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004328/0.9297, allocations: 477.1 kB / 0.5005 GB, free: 6.797 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01738/0.9471, allocations: 5.017 MB / 0.5054 GB, free: 1.703 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004185/0.9514, allocations: 1.969 MB / 0.5073 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001297/0.9527, allocations: 135.4 kB / 0.5075 GB, free: 15.57 MB / 446.1 MB Notification: Performance of SimCode: time 1.443e-06/0.9528, allocations: 0 / 0.5075 GB, free: 15.57 MB / 446.1 MB Notification: Performance of Templates: time 0.5621/1.515, allocations: 79.75 MB / 0.5854 GB, free: 93.32 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile (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 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) 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) Reference file matches